Interface AMFilteredRole

  • All Superinterfaces:
    AMConstants, AMObject, AMRole

    public interface AMFilteredRole
    extends AMRole
    Deprecated.
    As of Sun Java System Access Manager 7.1.
    This interface provides methods to manage filtered role. AMFilteredRole 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(rDN)) { 
         AMFilteredRole dg = amsc.getFileteredRole(rDN); 
     }
     
     
    • Method Detail

      • getFilter

        String getFilter()
                  throws AMException,
                         SSOException
        Deprecated.
        Returns the search filter for the filtered role.
        Returns:
        The filter for the filtered role.
        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.
      • setFilter

        void setFilter​(String filter)
                throws AMException,
                       SSOException
        Deprecated.
        Sets the search filter for the filtered role.
        Parameters:
        filter - filter for the filtered role.
        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.