Public Member Functions | |
JGroup (String name) | |
boolean | equals (Object another) |
String | toString () |
int | hashCode () |
String | getName () |
boolean | addMember (Principal user) |
boolean | removeMember (Principal user) |
boolean | isMember (Principal member) |
Enumeration | members () |
Definition at line 40 of file JGroup.java.
|
Build a new group with the following name
Definition at line 58 of file JGroup.java. |
|
Adds the specified member to the group.
Definition at line 107 of file JGroup.java. References org.objectweb.jonas.security.auth.JGroup.isMember(). Referenced by org.objectweb.jonas.security.auth.spi.JResourceLoginModule.commit(). |
Here is the call graph for this function:
|
Compares this principal to the specified object. Returns true if the object passed in matches the principal represented by the implementation of this interface.
Definition at line 69 of file JGroup.java. References org.objectweb.jonas.security.auth.JGroup.getName(). |
Here is the call graph for this function:
|
Returns the name of this principal.
Definition at line 98 of file JGroup.java. Referenced by org.objectweb.jonas.security.auth.JGroup.equals(). |
|
Returns a hashcode for this principal.
Definition at line 90 of file JGroup.java. |
|
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.
Definition at line 136 of file JGroup.java. Referenced by org.objectweb.jonas.security.auth.JGroup.addMember(), and org.objectweb.jonas.security.auth.JGroup.removeMember(). |
|
Returns an enumeration of the members in the group. The returned objects can be instances of either Principal or Group (which is a subclass of Principal).
Definition at line 145 of file JGroup.java. |
|
Removes the specified member from the group.
Definition at line 121 of file JGroup.java. References org.objectweb.jonas.security.auth.JGroup.isMember(). |
Here is the call graph for this function:
|
Returns a string representation of this principal.
Definition at line 81 of file JGroup.java. |