Interface AMResource

  • All Superinterfaces:
    AMConstants, AMObject

    public interface AMResource
    extends AMObject
    Deprecated.
    As of Sun Java System Access Manager 7.1.
    This interface provides methods to manage user. AMResource 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)) { AMResource res = amsc.getResource(rDN); }
     
     
    • Method Detail

      • activate

        void activate()
               throws AMException,
                      SSOException
        Deprecated.
        Activates the user.
        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
      • deactivate

        void deactivate()
                 throws AMException,
                        SSOException
        Deprecated.
        Deactivates the user.
        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
      • isActivated

        boolean isActivated()
                     throws AMException,
                            SSOException
        Deprecated.
        Returns true if the user is activated.
        Returns:
        true if the user is activated.
        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