|
Oracle | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.security.acl.OwnerImpl
public class 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(Principal principal)
Deprecated. Constructs an owner with an initial principal. |
Method Summary | |
---|---|
boolean |
addOwner(Principal caller,
Principal principal)
Deprecated. Adds an owner. |
boolean |
deleteOwner(Principal caller,
Principal principal)
Deprecated. Deletes an owner. |
boolean |
isOwner(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(Principal principal)
Method Detail |
---|
public boolean addOwner(Principal caller, Principal principal) throws 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.
addOwner
in interface Owner
caller
- Principal that is an owner of the ACLprincipal
- Principal that should be added to the list of owners
NotOwnerException
- if the caller Principal is not an owner of the ACLpublic boolean deleteOwner(Principal caller, Principal principal) throws NotOwnerException, LastOwnerException
The caller principal must be an owner of the ACL to invoke this method.
deleteOwner
in interface Owner
caller
- Principal that is an owner of the ACLprincipal
- Principal to be removed from the list of owners
NotOwnerException
- if the caller Principal is not an owner of the ACL
LastOwnerException
- if the owner proposed for deletion is the last
ownerpublic boolean isOwner(Principal principal)
isOwner
in interface Owner
principal
- Principal to be verified as an owner
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs103 Copyright 1996,2008, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |