protected void checkIfDeletedUser(SSOToken token,String userDN) throws AMEntryExistsException {
  String userAttribute[]={USER_STATUS_ATTRIBUTE};
  Attr attr;
  try {
    PersistentObject po=UMSObject.getObject(token,new Guid(userDN),userAttribute);
    attr=po.getAttribute(USER_STATUS_ATTRIBUTE);
  }
 catch (  UMSException ue) {
    if (debug.messageEnabled())     debug.message("Compliance.checkIfDeletedUser(): ",ue);
    return;
  }
  if (attr != null) {
    String attrValue=attr.getValue();
    if (attrValue != null && attrValue.equalsIgnoreCase("deleted")) {
      debug.warning("Compliance.checkIfDeletedUser(): " + "deleted user entry: " + userDN);
      throw new AMEntryExistsException(AMSDKBundle.getString("329"),"329");
    }
  }
}

protected void checkIfDeletedUser ( SSOToken token , String userDN ) throws AMEntryExistsException { String userAttribute [ ] = { USER_STATUS_ATTRIBUTE } ; Attr attr ; try { PersistentObject po = UMSObject . getObject ( token , new Guid ( userDN ) , userAttribute ) ; attr = po . getAttribute ( USER_STATUS_ATTRIBUTE ) ; } catch ( UMSException ue ) { if ( debug . messageEnabled ( ) ) debug . message ( "Compliance.checkIfDeletedUser(): " , ue ) ; return ; } if ( attr != null ) { String attrValue = attr . getValue ( ) ; if ( attrValue != null && attrValue . equalsIgnoreCase ( "deleted" ) ) { debug . warning ( "Compliance.checkIfDeletedUser(): " + "deleted user entry: " + userDN ) ; throw new AMEntryExistsException ( AMSDKBundle . getString ( "329" ) , "329" ) ; } } }
method which checks if the entry corresponding to userdn represents a deleted user entry ( entry with inetuserstatus : deleted )
