|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.security.Identity | +--weblogic.security.acl.User | +--weblogic.security.acl.GroupImpl
GroupImpl implements Group, which is used to represent a group of principals. (A principal represents an entity such as an individual user or a company).
Note that Group extends Principal. Thus, either a Principal or a Group can be passed as an argument to methods containing a Principal parameter. For example, you can add either a Principal or a Group to a Group object by calling the object's addMember method, passing it the Principal or Group.
Constructor Summary | |
GroupImpl(java.lang.String name)
Deprecated. Constructs a group with the specified name. |
Method Summary | |
boolean |
addMember(java.security.Principal principal)
Deprecated. Adds the specified member to the group. |
boolean |
isMember(java.security.Principal principal)
Deprecated. Returns true if the specified Principal is a member of the group. |
java.util.Enumeration |
members()
Deprecated. Returns an Enumeration of the members in the group. |
boolean |
removeMember(java.security.Principal principal)
Deprecated. Removes the specified member from the group. |
Methods inherited from class weblogic.security.acl.User |
getCredential,
getRealm,
identityEquals,
toString |
Methods inherited from class java.security.Identity |
addCertificate,
certificates,
equals,
getInfo,
getName,
getPublicKey,
getScope,
hashCode,
removeCertificate,
setInfo,
setPublicKey,
toString |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public GroupImpl(java.lang.String name)
Method Detail |
public boolean addMember(java.security.Principal principal)
principal
- Principal to add to this grouppublic boolean removeMember(java.security.Principal principal)
principal
- Principal to remove from this grouppublic java.util.Enumeration members()
public boolean isMember(java.security.Principal principal)
member
- Principal whose membership is to be checked
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81b |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |