|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SecurityResult
Represents a result from the SecurityManager for a privilege request.
| Method Summary | |
|---|---|
String |
explain(String defaultMessage)
Formats a string for an explanation of rule that fired. |
Security |
getSecurity()
Gets the Security rule that fired for this result. |
boolean |
isAccepted()
Denotes whether a privilege is accepted according to the Security rules. |
boolean |
isDefault()
Denotes whether a privilege is neither accepted nor according to the Security rules, i.e. |
boolean |
isDenied()
Denotes whether a privilege is denied according to the Security rules. |
| Method Detail |
|---|
boolean isAccepted()
Security rules.
boolean isDenied()
Security rules.
boolean isDefault()
Security rules, i.e. there are no rules that fired.
String explain(String defaultMessage)
defaultMessage -
Security getSecurity()
Security rule that fired for this result.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||