© 2001 BEA Systems, Inc.

com.beasys.commerce.axiom.contact.security
Class RDBMSGroup

com.beasys.commerce.axiom.contact.security.RDBMSGroup

public class RDBMSGroup

This class represents a Group in the RDBMS Realm.


Method Summary
protected  java.lang.Boolean getCachedMembership(java.lang.String principalName)
          Retrieve a cached membership Boolean.
 java.util.Hashtable getMembers()
          Returns a hashtable containing key/value pairs that are the usernames/user-objects of the members of this group
protected  java.lang.Class getUserClass()
           
 boolean isMember(java.security.Principal principal)
          Determines if a principal belongs to this group
protected  void setCachedMembership(java.lang.String principalName, java.lang.Boolean member)
          Cache a membership Boolean.
 

Method Detail

getUserClass

protected java.lang.Class getUserClass()

getMembers

public java.util.Hashtable getMembers()
Returns a hashtable containing key/value pairs that are the usernames/user-objects of the members of this group

isMember

public boolean isMember(java.security.Principal principal)
Determines if a principal belongs to this group
Parameters:
principal - The principal to look for
Returns:
true if it is a member, false otherwise

getCachedMembership

protected java.lang.Boolean getCachedMembership(java.lang.String principalName)
Retrieve a cached membership Boolean.
Parameters:
principalName - the name of the principal
Returns:
the cached membership or null if none was found

setCachedMembership

protected void setCachedMembership(java.lang.String principalName,
                                   java.lang.Boolean member)
Cache a membership Boolean.
Parameters:
String - principalName of the user to key off
member - the Boolean to cache

© 2001 BEA Systems, Inc.

Copyright © 2001 BEA Systems, Inc. All Rights Reserved