com.atlassian.crowd.integration.osuser
Class CrowdCredentialsProvider
java.lang.Object
com.atlassian.crowd.integration.osuser.CrowdCredentialsProvider
- All Implemented Interfaces:
- com.opensymphony.user.provider.CredentialsProvider, com.opensymphony.user.provider.UserProvider, Serializable
public class CrowdCredentialsProvider
- extends Object
- implements com.opensymphony.user.provider.CredentialsProvider
- See Also:
- Serialized Form
Field Summary |
protected org.apache.log4j.Logger |
logger
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.apache.log4j.Logger logger
CrowdCredentialsProvider
public CrowdCredentialsProvider()
CrowdCredentialsProvider
public CrowdCredentialsProvider(UserManager userManager,
AuthenticationManager authenticationManager,
CacheExpiryManager cacheExpiryManager)
authenticate
public boolean authenticate(String name,
String password)
- Specified by:
authenticate
in interface com.opensymphony.user.provider.CredentialsProvider
changePassword
public boolean changePassword(String name,
String password)
- Specified by:
changePassword
in interface com.opensymphony.user.provider.CredentialsProvider
create
public boolean create(String username)
- Specified by:
create
in interface com.opensymphony.user.provider.UserProvider
flushCaches
public void flushCaches()
- Specified by:
flushCaches
in interface com.opensymphony.user.provider.UserProvider
handles
public boolean handles(String username)
- Specified by:
handles
in interface com.opensymphony.user.provider.UserProvider
init
public boolean init(Properties properties)
- Specified by:
init
in interface com.opensymphony.user.provider.UserProvider
list
public List list()
- Specified by:
list
in interface com.opensymphony.user.provider.UserProvider
load
public boolean load(String name,
com.opensymphony.user.Entity.Accessor accessor)
- Specified by:
load
in interface com.opensymphony.user.provider.UserProvider
remove
public boolean remove(String username)
- Specified by:
remove
in interface com.opensymphony.user.provider.UserProvider
store
public boolean store(String string,
com.opensymphony.user.Entity.Accessor accessor)
- Specified by:
store
in interface com.opensymphony.user.provider.UserProvider
fetchInCache
public void fetchInCache(String username)
throws UserNotFoundException,
InvalidAuthenticationException,
OperationFailedException
- Fetches a user with the given username in the cache in case the user
exists, but cannot be found from the cache yet.
- Parameters:
username
- username of the user to be fetched
- Throws:
InvalidAuthenticationException
- if the application or user authentication was not successful.
OperationFailedException
- if the operation has failed for an unknown reason
UserNotFoundException
Copyright © 2012 Atlassian. All Rights Reserved.