Methods
Modifier and Type |
Method and Description |
static Permissions |
calculateActualPermissions(PageInstance instance) |
static Permissions |
calculateActualPermissions(Permissions basePermissions,
List<Page> pages) |
static String |
getAdministratorsGroup(Configuration conf) |
static String |
getAllGroup(Configuration conf) |
static String |
getAnonymousGroup(Configuration conf) |
static String |
getRegisteredGroup(Configuration conf) |
static RequiresPermissions |
getRequiresPermissionsAnnotation(Method handler,
Class<?> theClass) |
static boolean |
hasAnonymousPermissions(Configuration conf,
Permissions configuration,
AccessLevel level,
String... permissions) |
static boolean |
hasPermissions(Configuration conf,
Dispatch dispatch,
Subject subject,
Method handler) |
static boolean |
hasPermissions(Configuration conf,
Method method,
Class fallbackClass,
PageInstance pageInstance,
Subject subject) |
static boolean |
hasPermissions(Configuration conf,
PageInstance instance,
Subject subject,
AccessLevel accessLevel,
String... permissions) |
static boolean |
hasPermissions(Configuration conf,
PageInstance instance,
Subject subject,
Method handler) |
static boolean |
hasPermissions(Configuration conf,
Permissions configuration,
SecurityManager securityManager,
PrincipalCollection principals,
AccessLevel level,
String... permissions) |
static boolean |
hasPermissions(Configuration conf,
Permissions configuration,
Subject subject,
AccessLevel level,
String... permissions) |
static boolean |
hasPermissions(Configuration conf,
Permissions configuration,
Subject subject,
Method handler,
Class<?> theClass) |
static boolean |
hasPermissions(Configuration conf,
Permissions configuration,
Subject subject,
RequiresPermissions thing) |
static boolean |
isAdministrator(Configuration conf) |
static boolean |
isAdministrator(ServletRequest request) |
static boolean |
isAllowed(HttpServletRequest request,
Dispatch dispatch,
ActionBean actionBean,
Method handler) |
static boolean |
isUserInGroup(String groupId) |
static boolean |
satisfiesRequiresAdministrator(HttpServletRequest request,
ActionBean actionBean,
Method handler) |