| org.josso.wls92.agent.jaas.WLSJOSSORole
WLSJOSSORole | public class WLSJOSSORole extends WLSAbstractPrincipal implements BaseRole(Code) | | This principal extends Weblogic abstract principal, implementing also SSORole interface.
WebLogic exptects principals to implement WLUser and WLRole interfaces.
Date: Nov 26, 2007
Time: 7:35:45 PM
author: Sebastian Gonzalez Oyuela |
Method Summary | |
public boolean | addMember(Principal user) Adds the specified member to the group.
Parameters: user - the principal to add to this group. | public String | getName() | public boolean | isMember(Principal member) Returns true if the passed principal is a member of the group.
This method does a recursive search, so if a principal belongs to a
group which is a member of this group, true is returned.
A special check is made to see if the member is an instance of
org.jboss.security.AnybodyPrincipal or org.jboss.security.NobodyPrincipal
since these classes do not hash to meaningful values.
Parameters: member - the principal whose membership is to be checked. | public Enumeration | members() Returns an enumeration of the members in the group. | public boolean | removeMember(Principal user) Removes the specified member from the group.
Parameters: user - the principal to remove from this group. | public void | setName(String name) | public String | toString() |
WLSJOSSORole | public WLSJOSSORole()(Code) | | |
addMember | public boolean addMember(Principal user)(Code) | | Adds the specified member to the group.
Parameters: user - the principal to add to this group. true if the member was successfully added,false if the principal was already a member. |
isMember | public boolean isMember(Principal member)(Code) | | Returns true if the passed principal is a member of the group.
This method does a recursive search, so if a principal belongs to a
group which is a member of this group, true is returned.
A special check is made to see if the member is an instance of
org.jboss.security.AnybodyPrincipal or org.jboss.security.NobodyPrincipal
since these classes do not hash to meaningful values.
Parameters: member - the principal whose membership is to be checked. true if the principal is a member of this group,false otherwise. |
members | public Enumeration members()(Code) | | Returns an enumeration of the members in the group.
The returned objects can be instances of either Principal
or Group (which is a subinterface of Principal).
an enumeration of the group members. |
removeMember | public boolean removeMember(Principal user)(Code) | | Removes the specified member from the group.
Parameters: user - the principal to remove from this group. true if the principal was removed, orfalse if the principal was not a member. |
|
|