com.atlassian.crowd.cache
Class UserAuthorisationCacheImpl

java.lang.Object
  extended by com.atlassian.crowd.cache.UserAuthorisationCacheImpl
All Implemented Interfaces:
UserAuthorisationCache

public class UserAuthorisationCacheImpl
extends java.lang.Object
implements UserAuthorisationCache

Default implementation of UserAuthorisationCache in Crowd.

Since:
v2.2

Constructor Summary
UserAuthorisationCacheImpl(CacheManager cacheManager)
           
 
Method Summary
 void clear()
           
 java.lang.Boolean isPermitted(java.lang.String userName, java.lang.String applicationName)
           
 void setPermitted(java.lang.String userName, java.lang.String applicationName, boolean permitted)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserAuthorisationCacheImpl

public UserAuthorisationCacheImpl(CacheManager cacheManager)
Method Detail

setPermitted

public void setPermitted(java.lang.String userName,
                         java.lang.String applicationName,
                         boolean permitted)
Specified by:
setPermitted in interface UserAuthorisationCache

isPermitted

public java.lang.Boolean isPermitted(java.lang.String userName,
                                     java.lang.String applicationName)
Specified by:
isPermitted in interface UserAuthorisationCache

clear

public void clear()
Specified by:
clear in interface UserAuthorisationCache


Copyright © 2012 Atlassian. All Rights Reserved.