Results 1 to 2 of 2

Thread: Fallback authentication service?

  1. #1
    Join Date
    Oct 2012
    Posts
    1

    Default Fallback authentication service?

    Hello,

    Env - Spring Security version 2.0.5.

    We have been using Spring Security successfully to authenticate against an LDAP database (application is Pentaho). We now have a new requirement - to fallback to a second authentication service if LDAP doesn't work, for instance a JDBC database. Ie if the user isn't successfully authenticated against the LDAP database for whatever reason, the second service is tried.

    Is this possible 'out of the box' with Spring Security?

    Thanks in advance,

    Alex.

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,632

    Default

    I suggest the reference guide (and an upgrade of spring security ). You can simply provide multiple AuthenticationProvider to the ProviderManager as explained here.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •