|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface Policy
A policy assigns roles to accreditables using credentials. Additionally, SSL protection is defined.
| Method Summary | |
|---|---|
Role[] |
getRoles(Identity identity)
Returns all roles of a certain identity. |
boolean |
isEmpty()
Returns if the policy is empty. |
boolean |
isSSLProtected()
Returns if this policy requires SSL protection. |
| Method Detail |
|---|
Role[] getRoles(Identity identity)
throws AccessControlException
identity - The identity.
AccessControlException - when something went wrong.
boolean isSSLProtected()
throws AccessControlException
AccessControlException - when something went wrong.
boolean isEmpty()
throws AccessControlException
AccessControlException - when something went wrong.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||