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
 void 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 Detail

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 reason
UserNotFoundException


Copyright © 2013 Atlassian. All Rights Reserved.