Interface AMAssignableDynamicGroup

  • All Superinterfaces:
    AMConstants, AMGroup, AMObject

    public interface AMAssignableDynamicGroup
    extends AMGroup
    Deprecated.
    As of Sun Java System Access Manager 7.1.

    The AMAssignableDynamicGroup interface provides methods to manage assignable dynamic group. AMAssignableDynamicGroup objects 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(aDN)) {
         AMAssignableDynamicGroup adg = amsc.getAssignableDynamicGroup(aDN);
     }
     
    • Method Detail

      • addUsers

        void addUsers​(Set users)
               throws AMException,
                      SSOException
        Deprecated.
        Adds users to the assignable dynamic group.
        Parameters:
        users - The set of user distinguished names to be added to the assignable dynamic 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 assignable dynamic group.
        Parameters:
        users - The set of user distinguished names to be removed from the assignable dynamic 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 assignable dynamic group is subscribable.
        Returns:
        true if the assignable dynamic 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 assignable dynamic group.
        Parameters:
        subscribable - true if the assignable dynamic 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.