com.atlassian.crowd.cache
public interface UserAuthorisationCache
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the user authorisation cache.
|
void |
clear(String userName,
String applicationName)
Clears a user from the user authorisation cache.
|
Boolean |
isPermitted(String userName,
String applicationName)
Returns whether the user is permitted to authenticate with the application.
|
void |
setPermitted(String userName,
String applicationName,
boolean permitted)
Sets whether the user is permitted to authenticate with the application.
|
void setPermitted(String userName, String applicationName, boolean permitted)
userName - usernameapplicationName - name of the application to authenticatepermitted - set to true if the user is allowed to authenticate with the application, otherwise false.Boolean isPermitted(String userName, String applicationName)
userName - usernameapplicationName - name of the application the user is authenticating againstvoid clear()
Copyright © 2015 Atlassian. All Rights Reserved.