com.ibm.wsspi.batch.usergroup
Class GroupMembershipManager
- java.lang.Object
com.ibm.websphere.grid.spi.SPI
com.ibm.wsspi.batch.usergroup.GroupMembershipManager
All implemented interfaces:
java.lang.Comparable
- public abstract class GroupMembershipManager
- extends SPI
Constructor Summary
Constructor and Description |
---|
GroupMembershipManager()
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getFinalMembershipList(java.lang.String user,java.lang.String[] groups)
This method may provide and/or override the list of groups in which the
specified user is a member.
|
|
getGroupMembershipFromRuntime()
Returns boolean indicating whether or not to use WebSphere Federated
Repository services to get group membership information.
|
Methods inherited from class com.ibm.websphere.grid.spi.SPI |
---|
compareTo, getInvocationOrder, getName, setInvocationOrder, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail
GroupMembershipManager
- public GroupMembershipManager()
Method Detail
getGroupMembershipFromRuntime
- public abstract boolean getGroupMembershipFromRuntime( )
Returns boolean indicating whether or not to use WebSphere Federated
Repository services to get group membership information. If this method
returns true, the batch environment will call WebSphere Federated Repository
services to obtain the list of groups to which batch users are members. The
batch environment will then call this SPI?s getFinalMembershipList method so
the SPI can make the final decision on the list of groups. If this method returns
false, then getFinalMembershipList is the only source of a user?s group
membership information.
getFinalMembershipList
- public abstract java.lang.String[] getFinalMembershipList( java.lang.String user,
- java.lang.String[] groups)
This method may provide and/or override the list of groups in which the
specified user is a member. The return value from this method is the
authoritative list of groups for the specified user. The batch runtime does
not cache this information and calls this SPI any time this data is needed. This
SPI is free to cache this information at the thread or process level, so long as
the code is thread-safe.