|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ACLProvider
An ACLProvider is responsible for the management of the ACLs associated to the
resources being protected. Implementations of this interface will tipically interact with some
sort of repository, where the ACLs are stored.
| Method Summary | |
|---|---|
ACL |
createACL(org.jboss.security.authorization.Resource resource)
Creates a new ACL and associates it to the given resource. |
boolean |
removeACL(ACL acl)
Removes the given ACL, breaking the existing association with the resource it relates to. |
boolean |
removeACL(org.jboss.security.authorization.Resource resource)
Removes the ACL associated with the specified resource. |
ACL |
retrieveACL(org.jboss.security.authorization.Resource resource)
Obtains a reference to the ACL associated to the given resource. |
boolean |
updateACL(ACL acl)
Updates the given ACL. |
| Method Detail |
|---|
ACL retrieveACL(org.jboss.security.authorization.Resource resource)
Obtains a reference to the ACL associated to the given resource.
resource - the Resource for which the associated ACL is wanted.
ACL associated with the resource, or null if no
ACL could be found.ACL createACL(org.jboss.security.authorization.Resource resource)
Creates a new ACL and associates it to the given resource.
resource - the Resource for which an ACL is to be created.
ACL.boolean updateACL(ACL acl)
Updates the given ACL. This usually means updating the repository where the ACLs are stored.
acl - the ACL that needs to be updated.
true if the ACL was updated; false otherwise.boolean removeACL(ACL acl)
Removes the given ACL, breaking the existing association with the resource it relates to.
acl - a reference to the ACL that is to be removed.
true if the ACL was removed; false otherwise.boolean removeACL(org.jboss.security.authorization.Resource resource)
Removes the ACL associated with the specified resource.
resource - the Resource whose associated ACL is to be removed.
true if the ACL was removed; false otherwise.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||