|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AuthorizationResult
Encapsulates access permission results composed of the authorization decision and the obligations to be further verified.
Method Summary | |
---|---|
void |
addInternalObligations(java.util.List ios) Adds obligations to this result for any downstream processing. |
AccessDeniedException |
getAccessDeniedException() Gets the cause of access denial. |
java.util.List |
getObligations() Obtains this AuthorizationResult's obligations. |
boolean |
isAllowed() Obtains this AuthorizationResult's current decision value. |
void |
setAccessDeniedException(AccessDeniedException accessDeniedException) Sets the cause of access denial. |
void |
setAllowed(boolean allowed) Sets the AuthorizationResult's current decision value. |
Method Detail |
---|
boolean isAllowed()
void setAllowed(boolean allowed)
allowed
- current decision valuejava.util.List getObligations()
AccessDeniedException getAccessDeniedException()
void setAccessDeniedException(AccessDeniedException accessDeniedException)
accessDeniedException
-void addInternalObligations(java.util.List ios)
ios
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |