com.atlassian.confluence.security
Class ThreadLocalPermissionsCache
java.lang.Object
com.atlassian.confluence.security.ThreadLocalPermissionsCache
public class ThreadLocalPermissionsCache
- extends java.lang.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 java.lang.Boolean hasSpacePermission(java.lang.String permission,
Space space,
com.atlassian.user.User user)
cacheSpacePermission
public static void cacheSpacePermission(com.atlassian.user.User user,
java.lang.String permission,
Space space,
boolean hasPermission)
canUseConfluence
public static java.lang.Boolean canUseConfluence(com.atlassian.user.User user)
cacheCanUseConfluence
public static void cacheCanUseConfluence(com.atlassian.user.User user,
boolean canUse)
hasPermissionExemption
public static java.lang.Boolean hasPermissionExemption(com.atlassian.user.User user)
cachePermissionExemption
public static void cachePermissionExemption(com.atlassian.user.User user,
boolean exempt)
hasTemporaryPermissionExemption
public static boolean hasTemporaryPermissionExemption()
enableTemporaryPermissionExemption
public static void enableTemporaryPermissionExemption()
disableTemporaryPermissionExemption
public static void disableTemporaryPermissionExemption()
Copyright © 2003-2014 Atlassian. All Rights Reserved.