public class DefaultAuthorizationManager extends Object
Default implementation of the authorization checks provided by the built-in security annotations provided by PicketLink.
Constructor and Description |
---|
DefaultAuthorizationManager() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkExpression(javax.interceptor.InvocationContext invocationContext) |
boolean |
hasLevel(javax.interceptor.InvocationContext invocationContext) |
boolean |
hasPartition(javax.interceptor.InvocationContext invocationContext) |
boolean |
hasPermission(javax.interceptor.InvocationContext invocationContext) |
boolean |
hasRole(javax.interceptor.InvocationContext invocationContext) |
boolean |
isLoggedIn(javax.interceptor.InvocationContext invocationContext) |
boolean |
isMember(javax.interceptor.InvocationContext invocationContext) |
@LoggedIn public boolean isLoggedIn(javax.interceptor.InvocationContext invocationContext)
@Restrict public boolean checkExpression(javax.interceptor.InvocationContext invocationContext)
@RequiresPermission public boolean hasPermission(javax.interceptor.InvocationContext invocationContext)
@RolesAllowed public boolean hasRole(javax.interceptor.InvocationContext invocationContext)
@GroupsAllowed public boolean isMember(javax.interceptor.InvocationContext invocationContext)
@PartitionsAllowed public boolean hasPartition(javax.interceptor.InvocationContext invocationContext)
@RequiresLevel public boolean hasLevel(javax.interceptor.InvocationContext invocationContext)
Copyright © 2019. All rights reserved.