com.ibm.wsspi.batch.usergroup

Class GroupMembershipManager

  1. java.lang.Object
  2. extended bycom.ibm.websphere.grid.spi.SPI
  3. extended bycom.ibm.wsspi.batch.usergroup.GroupMembershipManager
All implemented interfaces:
java.lang.Comparable

  1. public abstract class GroupMembershipManager
  2. extends SPI

Constructor Summary

Constructor and Description
GroupMembershipManager()

Method Summary

Modifier and Type Method and Description
  1. abstract
  2. 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.
  1. abstract
  2. boolean
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

  1. public GroupMembershipManager()

Method Detail

getGroupMembershipFromRuntime

  1. 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

  1. public abstract java.lang.String[] getFinalMembershipList( java.lang.String user,
  2. 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.