public class CrowdAuthenticator extends Object implements com.atlassian.user.security.authentication.Authenticator
Constructor and Description |
---|
CrowdAuthenticator(com.atlassian.user.repository.RepositoryIdentifier repositoryIdentifier) |
CrowdAuthenticator(com.atlassian.user.repository.RepositoryIdentifier repositoryIdentifier,
SecurityServerClient securityServerClient,
HttpAuthenticator httpAuthenticator) |
Modifier and Type | Method and Description |
---|---|
boolean |
authenticate(String username,
String password)
Authenticates verses the Crowd security server.
|
com.atlassian.user.repository.RepositoryIdentifier |
getRepository()
Gets the repository the authenticator
|
public CrowdAuthenticator(com.atlassian.user.repository.RepositoryIdentifier repositoryIdentifier)
public CrowdAuthenticator(com.atlassian.user.repository.RepositoryIdentifier repositoryIdentifier, SecurityServerClient securityServerClient, HttpAuthenticator httpAuthenticator)
public boolean authenticate(String username, String password) throws com.atlassian.user.EntityException
authenticate
in interface com.atlassian.user.security.authentication.Authenticator
username
- usernamepassword
- passwordcom.atlassian.user.EntityException
public com.atlassian.user.repository.RepositoryIdentifier getRepository()
getRepository
in interface com.atlassian.user.security.authentication.Authenticator
Copyright © 2013 Atlassian. All Rights Reserved.