|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.eserver.zos.racf.userregistry.RACF_Group
Implements UserGroup interface for RACF groups. Additionally provides attributesInfo method. RACF does not currently support adding a group as a member of another group. Therefore, the Principal user input to the addMember method cannot implement the Group interface. If an object implementing Group is passed as as input to addMember or addMembers, an illegalArgumentException will be thrown.
Group.addMember(java.security.Principal)
Field Summary | |
---|---|
static String |
COPYRIGHT
|
static String |
sccsid
|
Method Summary | |
---|---|
boolean |
addMember(Principal user)
Adds user to group, implementing addMember method of java.security.acl.Group interface |
boolean |
addMember(Principal user,
BasicAttributes in_attributes)
Adds user to group with specified membership attributes. |
static String |
attributesHTML()
Returns an HTML table of group attributes and their properties. |
static BasicAttributes |
attributesInfo()
Returns group attributes and their properties. |
BasicAttributes |
getAttributes()
Gets the attributes for this group |
BasicAttributes |
getMembershipAttributes(Principal member)
Returns membership attributes of specified member to this group from security repository |
String |
getName()
Returns the name of this group. |
boolean |
isMember(Principal member)
Returns true if the passed principal is a member of the group |
Enumeration |
members()
Returns an enumeration of the members in the group. |
static String |
membershipAttributesHTML()
Returns an HTML table of membership attributes and their properties. |
static BasicAttributes |
membershipAttributesInfo()
Returns membership attributes and their properties. |
void |
modifyMembershipAttributes(Principal user,
ModificationItem[] input_mods)
Modify membership attributes of specified member of this group in security repository |
boolean |
removeMember(Principal user)
Removes specified member from the group. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.security.Principal |
---|
equals, hashCode, toString |
Field Detail |
public static final String COPYRIGHT
public static final String sccsid
Method Detail |
public boolean addMember(Principal user)
addMember
in interface UserGroup
user
- Principal object for user we are adding to group
Group.addMember(java.security.Principal)
public boolean addMember(Principal user, BasicAttributes in_attributes) throws SecAdminException
addMember
in interface UserGroup
user
- Principal object for user we are adding to groupin_attributes
- BasicAttributes containing membership attributes to set
for user's membership in group
SecAdminException
public static String attributesHTML()
public static BasicAttributes attributesInfo()
public BasicAttributes getAttributes() throws SecAdminException
getAttributes
in interface UserGroup
SecAdminException
public BasicAttributes getMembershipAttributes(Principal member) throws SecAdminException
UserGroup
getMembershipAttributes
in interface UserGroup
member
- member to retrieve membership attributes for
SecAdminException
public String getName()
UserGroup
getName
in interface UserGroup
Principal.getName()
public boolean isMember(Principal member)
UserGroup
isMember
in interface UserGroup
Group.isMember(java.security.Principal)
public Enumeration members()
members
in interface UserGroup
Group.members()
public static String membershipAttributesHTML()
public static BasicAttributes membershipAttributesInfo()
public void modifyMembershipAttributes(Principal user, ModificationItem[] input_mods) throws SecAdminException
UserGroup
modifyMembershipAttributes
in interface UserGroup
user
- member to modify
SecAdminException
public boolean removeMember(Principal user)
UserGroup
removeMember
in interface UserGroup
Group.removeMember(java.security.Principal)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |