Class ComplianceServicesImpl

    • Constructor Detail

      • ComplianceServicesImpl

        public ComplianceServicesImpl​(SOAPClient soapClient)
    • Method Detail

      • isAncestorOrgDeleted

        public boolean isAncestorOrgDeleted​(SSOToken token,
                                            String dn,
                                            int profileType)
                                     throws AMException
        Description copied from interface: IComplianceServices
        Returns true if any of the Organizations upto the base DN are marked deleted.
        Specified by:
        isAncestorOrgDeleted in interface IComplianceServices
        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

        public void verifyAndDeleteObject​(SSOToken token,
                                          String profileDN)
                                   throws AMException
        Description copied from interface: IComplianceServices
        Verify if the object in question is marked for deletion, in which case it is deleted. Otherwise, it just marks the object for deletion.
        Specified by:
        verifyAndDeleteObject in interface IComplianceServices
        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

        public String getDeletedObjectFilter​(int objectType)
                                      throws AMException,
                                             SSOException
        Description copied from interface: IComplianceServices
        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
        Specified by:
        getDeletedObjectFilter in interface IComplianceServices
        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