com.atlassian.user.impl.osuser.security.authentication
Class OSUAuthenticator
java.lang.Object
com.atlassian.user.impl.osuser.security.authentication.OSUAuthenticator
- All Implemented Interfaces:
- Authenticator
- public class OSUAuthenticator
- extends java.lang.Object
- implements Authenticator
OSUser has two classes which handle authentication - the CredentialsProvider
and
the Authenticator
. This Authenticator impl.
has the capability to wrap one of either.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OSUAuthenticator
public OSUAuthenticator(RepositoryIdentifier repository,
com.opensymphony.user.provider.CredentialsProvider credentialsProvider)
OSUAuthenticator
public OSUAuthenticator(RepositoryIdentifier repository,
com.opensymphony.user.authenticator.Authenticator osuserAuthenticator)
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
isWrappingCredentialProvider
public boolean isWrappingCredentialProvider()
- Returns:
- true if an instance of
CredentialsProvider
has been wrapped, false otherwise.
Copyright © 2005-2007 Atlassian Software Systems Pty Ltd. All Rights Reserved.