com.atlassian.crowd.integration.atlassianuser
Class CrowdAuthenticator

java.lang.Object
  extended by com.atlassian.crowd.integration.atlassianuser.CrowdAuthenticator

public class CrowdAuthenticator
extends Object

Crowd authenticator that contacts the Crowd security server to validate a username and password.


Constructor Summary
CrowdAuthenticator()
           
 
Method Summary
 boolean authenticate(String username, String password)
          Authenticates verses the Crowd security server.
 Repository getRepository()
          Gets the repository the authenticator
 void init(HashMap args)
          Used to initialize the instance via the configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrowdAuthenticator

public CrowdAuthenticator()
Method Detail

authenticate

public boolean authenticate(String username,
                            String password)
                     throws EntityException
Authenticates verses the Crowd security server.

Parameters:
username - username
password - password
Returns:
true if the username and password were successfully authenticated, false otherwise
Throws:
EntityException

getRepository

public Repository getRepository()
Gets the repository the authenticator


init

public void init(HashMap args)
          throws ConfigurationException
Used to initialize the instance via the configuration.

Parameters:
args -
Throws:
ConfigurationException


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.