Package com.atlassian.crowd.service
Interface AuthenticatorUserCache
public interface AuthenticatorUserCache
Interface that
CacheAwareCrowdHttpAuthenticator
calls when it want's to ensure a user exists in the cache.-
Method Summary
Modifier and TypeMethodDescriptionvoid
fetchInCache
(String username) Fetches a user with the given username in the cache, in case the user exists, but cannot be found from the cache yet.
-
Method Details
-
fetchInCache
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 reasonUserNotFoundException
-