|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--ajanta.util.OwnerImpl
OwnerImpl implements java.security.acl.Owner
Owner| Constructor Summary | |
OwnerImpl()
Constructs OwnerImpl object |
|
OwnerImpl(java.security.Principal owner)
Constructs OwnerImpl object |
|
| Method Summary | |
boolean |
addOwner(java.security.Principal caller,
java.security.Principal owner)
Adds an owner. |
boolean |
deleteOwner(java.security.Principal caller,
java.security.Principal owner)
Deletes an owner. |
boolean |
isOwner(java.security.Principal owner)
Returns true if the given principal is an owner of the ACL. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OwnerImpl()
public OwnerImpl(java.security.Principal owner)
| Method Detail |
public boolean addOwner(java.security.Principal caller,
java.security.Principal owner)
throws java.security.acl.NotOwnerException
addOwner in interface java.security.acl.Ownercaller - - the principal invoking this method.
It must be an owner of the ACL.owner - - the owner that should be added to the list of owners.
java.security.acl.NotOwnerException
public boolean deleteOwner(java.security.Principal caller,
java.security.Principal owner)
throws java.security.acl.NotOwnerException,
java.security.acl.LastOwnerException
deleteOwner in interface java.security.acl.Ownercaller - - the principal invoking this method.
It must be an owner of the ACL.owner - - the owner to be removed from the list of owners.
java.security.acl.NotOwnerException
java.security.acl.LastOwnerExceptionpublic boolean isOwner(java.security.Principal owner)
isOwner in interface java.security.acl.Ownerowner - - the principal to be checked to determine whether
or not it is an owner.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||