com.atlassian.user.impl.osuser.security.authentication
Class OSUListOfCredentialProvidersAuthenticator
java.lang.Object
com.atlassian.user.impl.osuser.security.authentication.OSUListOfCredentialProvidersAuthenticator
- All Implemented Interfaces:
- Authenticator
public class OSUListOfCredentialProvidersAuthenticator
- extends Object
- implements Authenticator
Authenticates against the first provider that handles the username.
If authentication fails, it will not fall back or try another provider
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OSUListOfCredentialProvidersAuthenticator
public OSUListOfCredentialProvidersAuthenticator(RepositoryIdentifier repository,
List credentialProviders)
authenticate
public boolean authenticate(String username,
String password)
throws EntityException
- Specified by:
authenticate in interface Authenticator
- Throws:
EntityException
getRepository
public RepositoryIdentifier getRepository()
- Specified by:
getRepository in interface Authenticator
Copyright © 2005-2009 Atlassian Software Systems Pty Ltd. All Rights Reserved.