public class AccessDeniedException extends SecurityException
Constructor and Description |
---|
AccessDeniedException(Set<SecurityViolation> violations)
Constructor for creating the exception for the given violations and error-view
|
Modifier and Type | Method and Description |
---|---|
Set<SecurityViolation> |
getViolations()
All
SecurityViolation which were found by a AccessDecisionVoter |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AccessDeniedException(Set<SecurityViolation> violations)
violations
- current violationspublic Set<SecurityViolation> getViolations()
SecurityViolation
which were found by a AccessDecisionVoter
Copyright © 2016 The Apache Software Foundation. All rights reserved.