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

java.lang.Object
  extended bycom.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.


Constructor Summary
OSUAuthenticator(RepositoryIdentifier repository, com.opensymphony.user.authenticator.Authenticator osuserAuthenticator)
           
OSUAuthenticator(RepositoryIdentifier repository, com.opensymphony.user.provider.CredentialsProvider credentialsProvider)
           
 
Method Summary
 boolean authenticate(java.lang.String username, java.lang.String password)
           
 RepositoryIdentifier getRepository()
           
 boolean isWrappingCredentialProvider()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSUAuthenticator

public OSUAuthenticator(RepositoryIdentifier repository,
                        com.opensymphony.user.provider.CredentialsProvider credentialsProvider)

OSUAuthenticator

public OSUAuthenticator(RepositoryIdentifier repository,
                        com.opensymphony.user.authenticator.Authenticator osuserAuthenticator)
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

isWrappingCredentialProvider

public boolean isWrappingCredentialProvider()
Returns:
true if an instance of CredentialsProvider has been wrapped, false otherwise.


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