|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.crowd.cache.UserAuthorisationCacheImpl
public class UserAuthorisationCacheImpl
Default implementation of UserAuthorisationCache in Crowd.
Constructor Summary | |
---|---|
UserAuthorisationCacheImpl(CacheManager cacheManager)
|
Method Summary | |
---|---|
void |
clear()
Clears 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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserAuthorisationCacheImpl(CacheManager cacheManager)
Method Detail |
---|
public void setPermitted(String userName, String applicationName, boolean permitted)
UserAuthorisationCache
setPermitted
in interface UserAuthorisationCache
userName
- usernameapplicationName
- name of the application to authenticatepermitted
- set to true if the user is allowed to authenticate with the application, otherwise false.public Boolean isPermitted(String userName, String applicationName)
UserAuthorisationCache
isPermitted
in interface UserAuthorisationCache
userName
- usernameapplicationName
- name of the application the user is authenticating against
public void clear()
UserAuthorisationCache
clear
in interface UserAuthorisationCache
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |