com.opensymphony.user.adapter.weblogic61
Class OSUserRealmGroup
java.lang.Object
weblogic.security.acl.DefaultGroupImpl
weblogic.security.acl.FlatGroup
com.opensymphony.user.adapter.weblogic61.OSUserRealmGroup
- All Implemented Interfaces:
- java.security.acl.Group, java.security.Principal
- public class OSUserRealmGroup
- extends weblogic.security.acl.FlatGroup
- implements java.security.acl.Group
Wraps an OSUser group within the WebLogic security-realm.
- Version:
- $Revision: 1.3 $
- Author:
- Steve Ebersole
| Nested classes inherited from class weblogic.security.acl.FlatGroup |
weblogic.security.acl.FlatGroup.Source |
| Fields inherited from class weblogic.security.acl.FlatGroup |
LIFETIME_DEFAULT_SEC, members |
|
Method Summary |
boolean |
addMember(java.security.Principal user)
Override the addMember method to add the user to the underlying osUser
group. |
protected java.lang.Class |
getUserClass()
Returns the class which is used to represent user entities within this
group implementation. |
boolean |
removeMember(java.security.Principal user)
Override the removeMember method to remove the user from the underlying
osUser group. |
| Methods inherited from class weblogic.security.acl.FlatGroup |
addMemberInternal, ensureFreshness, equals, getCacheTTLMillis, hashCode, isMember, members, removeMemberInternal, setCacheTTL, toString |
| Methods inherited from class weblogic.security.acl.DefaultGroupImpl |
getName |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.security.acl.Group |
isMember, members |
| Methods inherited from interface java.security.Principal |
equals, getName, hashCode, toString |
OSUserRealmGroup
public OSUserRealmGroup(Group osGroup,
OSUserRealm wlRealm)
addMember
public boolean addMember(java.security.Principal user)
- Override the addMember method to add the user to the underlying osUser
group.
- Specified by:
addMember in interface java.security.acl.Group
- Parameters:
user - The user to be added to the group.
removeMember
public boolean removeMember(java.security.Principal user)
- Override the removeMember method to remove the user from the underlying
osUser group.
- Specified by:
removeMember in interface java.security.acl.Group
- Parameters:
user - The user to be removed from the group.
getUserClass
protected java.lang.Class getUserClass()
- Returns the class which is used to represent user entities within this
group implementation.
- Returns:
- The class which is used to represent users within this group.