|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AuthorizationResource
This interface defines a Resource on which can be granted one or more
Actions.
Together these form an
AuthorizationPermission.
| Method Summary | |
|---|---|
java.lang.String |
getCanonicalName()
Get the canonical name of this resource used for comparing. |
java.lang.String |
getID()
Get the identifier of this resource. |
java.lang.String |
getName()
Get the name of this resource. |
java.lang.String |
getUUID()
Get the UUID of this resource. |
boolean |
implies(AuthorizationResource resource)
Does this resource imply another? |
boolean |
isCannonicallyEquivalent(AuthorizationResource resource)
Are these resources equal exception for recursion? |
boolean |
isRecursive()
Determine if the Actions applies to this resource should be applied recursively to sub resources. |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
java.lang.String getName()
null
if the resorce's ID has not been resolved.
java.lang.String getID()
null.
This is the identifier used to store and retrieve this resource from
the Authorization store.
java.lang.String getUUID()
null.
This is a payload of UUID for MetaBase authorization code.
null.java.lang.String getCanonicalName()
null if the resource's ID has not been resolved.
boolean isRecursive()
boolean implies(AuthorizationResource resource)
resource - The other resource
MetaBaseResourceNotResolvedException - if implies is called bfore
the resource's ID has been resolved to a path.boolean isCannonicallyEquivalent(AuthorizationResource resource)
resource - The resource to compare with this one disregarding recursion.
true if these two resources differ only be recursion.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||