Package | Description |
---|---|
org.wamblee.security.authorization |
The authorization package provides an authorization service that can be used to
check whether users have the rights to perform certain operations.
|
Modifier and Type | Method and Description |
---|---|
AuthorizationResult |
AuthorizationRule.isAllowed(Object aResource,
Operation aOperation,
String aUser)
Determines whether an operation is allowed on a certain resource.
|
AuthorizationResult |
UrlAuthorizationRule.isAllowed(Object aResource,
Operation aOperation,
String aUser) |
protected AuthorizationResult |
UrlAuthorizationRule.isAllowedWithPath(String aPath,
Operation aOperation,
String aUser)
Determines if the operation is allowed on the resource.
|
static AuthorizationResult |
AuthorizationResult.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthorizationResult[] |
AuthorizationResult.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
UrlAuthorizationRule(AuthorizationResult aResult,
UserCondition aUserCondition,
PathCondition aPathCondition,
Class aResourceClass,
OperationCondition aOperationCondition)
Constructs an authorization rule.
|
Copyright © 2022. All rights reserved.