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,
com.atlassian.crowd.service.client.CrowdClient restCrowdClient) |
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, com.atlassian.crowd.service.client.CrowdClient restCrowdClient)
public CrowdAuthenticator(com.atlassian.user.repository.RepositoryIdentifier repositoryIdentifier)
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 © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.