com.atlassian.user.impl.osuser.security.authentication
Class OSUListOfCredentialProvidersAuthenticator

java.lang.Object
  extended bycom.atlassian.user.impl.osuser.security.authentication.OSUListOfCredentialProvidersAuthenticator
All Implemented Interfaces:
Authenticator

public class OSUListOfCredentialProvidersAuthenticator
extends java.lang.Object
implements Authenticator

Authenticates against the first provider that handles the username. If authentication fails, it will not fall back or try another provider


Constructor Summary
OSUListOfCredentialProvidersAuthenticator(RepositoryIdentifier repository, java.util.List credentialProviders)
           
 
Method Summary
 boolean authenticate(java.lang.String username, java.lang.String password)
           
 RepositoryIdentifier getRepository()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSUListOfCredentialProvidersAuthenticator

public OSUListOfCredentialProvidersAuthenticator(RepositoryIdentifier repository,
                                                 java.util.List credentialProviders)
Method Detail

authenticate

public boolean authenticate(java.lang.String username,
                            java.lang.String password)
                     throws EntityException
Specified by:
authenticate in interface Authenticator
Throws:
EntityException

getRepository

public RepositoryIdentifier getRepository()
Specified by:
getRepository in interface Authenticator


Copyright © 2005-2007 Atlassian Software Systems Pty Ltd. All Rights Reserved.