|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.security.acl.OwnerImpl
OwnerImpl implements Owner to manage owners of Access Control Lists (ACLs) or ACL configurations. (Note that the Acl interface in the java.security.acl package extends this Owner interface.)
An ACL must always have at least one owner.
Owner
,
Acl
, Serialized FormConstructor Summary | |
OwnerImpl(java.security.Principal principal)
Deprecated. Constructs an owner with an initial principal. |
Method Summary | |
boolean |
addOwner(java.security.Principal caller,
java.security.Principal principal)
Deprecated. Adds an owner. |
boolean |
deleteOwner(java.security.Principal caller,
java.security.Principal principal)
Deprecated. Deletes an owner. |
boolean |
isOwner(java.security.Principal principal)
Deprecated. Determines whether 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(java.security.Principal principal)
Method Detail |
public boolean addOwner(java.security.Principal caller, java.security.Principal principal) throws java.security.acl.NotOwnerException
The method returns false if the proposed owner is already an owner. An exception is thrown if the Principal caller is not an owner of the ACL.
caller
- Principal that is an owner of the ACLowner
- Principal that should be added to the list of ownerspublic boolean deleteOwner(java.security.Principal caller, java.security.Principal principal) throws java.security.acl.NotOwnerException, java.security.acl.LastOwnerException
The caller principal must be an owner of the ACL to invoke this method.
caller
- Principal that is an owner of the ACLowner
- Principal to be removed from the list of ownerspublic boolean isOwner(java.security.Principal principal)
owner
- Principal to be verified as an owner
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |