com.atlassian.confluence.security
Class ThreadLocalPermissionsCache
java.lang.Object
com.atlassian.confluence.security.ThreadLocalPermissionsCache
public class ThreadLocalPermissionsCache
- extends Object
Wrapper around the ThreadLocalCache to deal with caching space permissions and application access.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadLocalPermissionsCache
public ThreadLocalPermissionsCache()
hasSpacePermission
public static Boolean hasSpacePermission(String permission,
Space space,
com.atlassian.user.User user)
cacheSpacePermission
public static void cacheSpacePermission(com.atlassian.user.User user,
String permission,
Space space,
boolean hasPermission)
canUseConfluence
public static Boolean canUseConfluence(com.atlassian.user.User user)
cacheCanUseConfluence
public static void cacheCanUseConfluence(com.atlassian.user.User user,
boolean canUse)
hasPermissionExemption
public static Boolean hasPermissionExemption(com.atlassian.user.User user)
cachePermissionExemption
public static void cachePermissionExemption(com.atlassian.user.User user,
boolean exempt)
Copyright © 2003-2013 Atlassian. All Rights Reserved.