Interface AMStaticGroup

  • All Superinterfaces:
    AMConstants, AMGroup, AMObject

    public interface AMStaticGroup
    extends AMGroup
    Deprecated.
    As of Sun Java System Access Manager 7.1.
    This interface provides methods to manage static group. AMStaticGroup object can be obtained by using AMStoreConnection. A handle to this object can be obtained by using the DN of the object.
     
     AMStoreConnection amsc = new AMStoreConnection(ssotoken); if
     (amsc.doesEntryExist(sDN)) { AMStaticGroup sg = amsc.getStaticGroup(rDN); }
     
     
    • Method Detail

      • addUsers

        void addUsers​(Set users)
               throws AMException,
                      SSOException
        Deprecated.
        Adds users to the static group.
        Parameters:
        users - The set of user DN's to be added to the static group.
        Throws:
        AMException - if an error is encountered when trying to access/retrieve data from the data store
        SSOException - if the single sign on token is no longer valid
      • removeUsers

        void removeUsers​(Set users)
                  throws AMException,
                         SSOException
        Deprecated.
        Removes users from the static group.
        Parameters:
        users - The set of user DN's to be removed from the static group.
        Throws:
        AMException - if an error is encountered when trying to access/retrieve data from the data store
        SSOException - if the single sign on token is no longer valid
      • isSubscribable

        boolean isSubscribable()
                        throws AMException,
                               SSOException
        Deprecated.
        Returns true if the group is subscribable.
        Returns:
        true if the group is subscribable.
        Throws:
        AMException - if an error is encountered when trying to access/retrieve data from the data store
        SSOException - if the single sign on token is no longer valid
      • setSubscribable

        void setSubscribable​(boolean subscribable)
                      throws AMException,
                             SSOException
        Deprecated.
        Sets subscribe-ability of the group.
        Parameters:
        subscribable - true if the group is subscribable.
        Throws:
        AMException - if an error is encountered when trying to access/retrieve data from the data store
        SSOException - if the single sign on token is no longer valid