|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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. |
java.lang.Boolean |
isPermitted(java.lang.String userName,
java.lang.String applicationName)
Returns whether the user is permitted to authenticate with the application. |
void |
setPermitted(java.lang.String userName,
java.lang.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(java.lang.String userName,
java.lang.String applicationName,
boolean permitted)
UserAuthorisationCache
setPermitted in interface UserAuthorisationCacheuserName - usernameapplicationName - name of the application to authenticatepermitted - set to true if the user is allowed to authenticate with the application, otherwise false.
public java.lang.Boolean isPermitted(java.lang.String userName,
java.lang.String applicationName)
UserAuthorisationCache
isPermitted in interface UserAuthorisationCacheuserName - 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 | |||||||||