Interface IComplianceServices

    • Method Detail

      • isAncestorOrgDeleted

        boolean isAncestorOrgDeleted​(SSOToken token,
                                     String dn,
                                     int profileType)
                              throws AMException
        Returns true if any of the Organizations upto the base DN are marked deleted.
        Parameters:
        token - User's single sign on token
        dn - DN of entry
        profileType - Integer representing the object type
        Returns:
        True or false
        Throws:
        AMException - if an error occurs while trying to determine if the ancestor Organization was deleted.
      • verifyAndDeleteObject

        void verifyAndDeleteObject​(SSOToken token,
                                   String profileDN)
                            throws AMException
        Verify if the object in question is marked for deletion, in which case it is deleted. Otherwise, it just marks the object for deletion.
        Parameters:
        token - User's single sign on token
        profileDN - DN of entry
        Throws:
        AMException - if an error occurs while trying to perform the operation.
      • getDeletedObjectFilter

        String getDeletedObjectFilter​(int objectType)
                               throws AMException,
                                      SSOException
        Returns the search filter to be used for searching deleted objects. For example, for searching deleted users, the search filter is (&(objectclass=inetOrgPerson)(inetUserStatus=deleted)) . The search filters are configured in the Admin Console service
        Parameters:
        objectType - Integer representing the object type
        Returns:
        Search filter @ throws AMException if an error occurs while trying to perform the operation.
        Throws:
        SSOException - if the user's single sign on token is invalid
        AMException