Package | Description |
---|---|
org.apache.deltaspike.security.api.authorization | |
org.apache.deltaspike.security.spi.authorization |
Modifier and Type | Method and Description |
---|---|
protected SecurityViolation |
AbstractDecisionVoter.newSecurityViolation(String reason)
Creates an instance of
SecurityViolation for a given
string which will be used as reason to describe the violation. |
Modifier and Type | Method and Description |
---|---|
Set<SecurityViolation> |
AbstractAccessDecisionVoter.checkPermission(AccessDecisionVoterContext accessDecisionVoterContext)
It should be final - but proxy-libs won't support it.
|
Set<SecurityViolation> |
AccessDecisionVoter.checkPermission(AccessDecisionVoterContext accessDecisionVoterContext)
Checks the permission for the given
InvocationContext . |
List<Set<SecurityViolation>> |
Secured.Descriptor.execute(AccessDecisionVoterContext accessDecisionVoterContext) |
Set<SecurityViolation> |
AccessDeniedException.getViolations()
All
SecurityViolation which were found by a AccessDecisionVoter |
List<SecurityViolation> |
AccessDecisionVoterContext.getViolations()
Exposes the found violations
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractAccessDecisionVoter.checkPermission(AccessDecisionVoterContext accessDecisionVoterContext,
Set<SecurityViolation> violations)
Allows an easier implementation in combination with
AbstractDecisionVoter.newSecurityViolation(String) . |
Constructor and Description |
---|
AccessDeniedException(Set<SecurityViolation> violations)
Constructor for creating the exception for the given violations and error-view
|
ErrorViewAwareAccessDeniedException(Set<SecurityViolation> violations,
Class<? extends ViewConfig> errorView) |
Modifier and Type | Method and Description |
---|---|
void |
EditableAccessDecisionVoterContext.addViolation(SecurityViolation securityViolation)
Adds a new
SecurityViolation to the context |
Modifier and Type | Method and Description |
---|---|
void |
SecurityViolationHandler.processSecurityViolations(Set<SecurityViolation> securityViolations)
Instead of adding the violations as message for the user, it's possible to implement a custom behaviour
(e.g. something like an InternalViolation which won't get added)
|
Copyright © 2020 The Apache Software Foundation. All rights reserved.