Modifier and Type | Method and Description |
---|---|
static boolean |
AuthorizationUtil.hasPartition(Identity identity,
Class<?> partitionType,
String... partitionNames)
Checks if an authenticated user is associated with a partition with the given type and name.
|
static boolean |
AuthorizationUtil.hasPermission(Identity identity,
Object resource,
Class<?> resourceClass,
Serializable resourceIdentifier,
String operation)
Checks if the user has permissions to a resource considering an operation.
|
static boolean |
AuthorizationUtil.hasRole(Identity identity,
PartitionManager partitionManager,
String roleName)
Checks if an authenticated user is granted with a role with the given name.
|
static boolean |
AuthorizationUtil.isLoggedIn(Identity identity)
Checks if the user is logged in.
|
static boolean |
AuthorizationUtil.isMember(Identity identity,
PartitionManager partitionManager,
String groupName)
Checks if an authenticated user is member of the a group with the given name.
|
Constructor and Description |
---|
PicketLinkHttpServletRequest(javax.servlet.http.HttpServletRequest request,
Identity identity,
DefaultLoginCredentials credentials,
PartitionManager partitionManager,
ELProcessor elProcessor) |
Modifier and Type | Method and Description |
---|---|
protected Identity |
TokenAuthenticationScheme.getIdentity()
Returns the current
Identity associated with the request. |
Modifier and Type | Method and Description |
---|---|
protected Identity |
AbstractPathAuthorizer.getIdentity() |
Modifier and Type | Class and Description |
---|---|
class |
AbstractIdentity
Base implementation for
Identity types. |
class |
DefaultIdentity
Default
Identity implementation. |
Copyright © 2015 JBoss by Red Hat. All rights reserved.