|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PolicyManager
A policy manager.
Field Summary | |
---|---|
static java.lang.String |
ROLE
The Avalon role. |
Method Summary | |
---|---|
void |
accreditableAdded(AccreditableManager manager,
Accreditable accreditable)
Called when an accreditable was added. |
void |
accreditableRemoved(AccreditableManager manager,
Accreditable accreditable)
Called when an accreditable was removed. |
Credential[] |
getCredentials(AccreditableManager controller,
java.lang.String url)
Return all credentials for this url |
Role[] |
getGrantedRoles(AccreditableManager accreditableManager,
Identity identity,
java.lang.String url)
Returns all granted roles for a certain identity on a certain URL. |
Policy |
getPolicy(AccreditableManager controller,
java.lang.String url)
Returns the policy for a given page. |
Field Detail |
---|
static final java.lang.String ROLE
Method Detail |
---|
Policy getPolicy(AccreditableManager controller, java.lang.String url) throws AccessControlException
controller
- The access controller.url
- The url inside the web application.
AccessControlException
- when something went wrong.Role[] getGrantedRoles(AccreditableManager accreditableManager, Identity identity, java.lang.String url) throws AccessControlException
accreditableManager
- The accreditable manager.identity
- The identity.url
- The URL.
AccessControlException
- if an error occurs.Credential[] getCredentials(AccreditableManager controller, java.lang.String url) throws AccessControlException
controller
- The Accreditable Managerurl
- The AC url
AccessControlException
- when something went wrong.void accreditableAdded(AccreditableManager manager, Accreditable accreditable) throws AccessControlException
manager
- The accreditable manager the accreditable belonged to.accreditable
- The accreditable that was removed.
AccessControlException
- when something went wrong.void accreditableRemoved(AccreditableManager manager, Accreditable accreditable) throws AccessControlException
manager
- The accreditable manager the accreditable belonged to.accreditable
- The accreditable that was removed.
AccessControlException
- when something went wrong.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |