Package | Description |
---|---|
org.picketlink.authorization.util | |
org.picketlink.http.internal.authentication.schemes | |
org.picketlink.http.internal.authorization | |
org.picketlink.internal |
Modifier and Type | Method and Description |
---|---|
static boolean |
AuthorizationUtil.hasLevel(Identity identity,
Level level)
Checks if an user has given security level.
|
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.
|
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 © 2019. All rights reserved.