com.ibm.wsspi.batch.usergroup

Class GroupMembershipManager

  • All Implemented Interfaces:
    java.lang.Comparable


    public abstract class GroupMembershipManager
    extends SPI
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      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.
      abstract boolean getGroupMembershipFromRuntime()
      Returns boolean indicating whether or not to use WebSphere Federated Repository services to get group membership information.
      • 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.
        Parameters:
        batch - environment user and list of groups in which that user is a member.
        final - list of groups for the specified user.
IBM WebSphere Application ServerTM
Release 9.0