cat.debug("Cannot find user with DN='"+dn+"'");
log.debug("Cannot find user with DN='"+dn+"'");
    public UserAdminData findUserBySubjectDN(Admin admin, String subjectdn) throws AuthorizationDeniedException, RemoteException {        debug(">findUserBySubjectDN("+subjectdn+")");        String dn = CertTools.stringToBCDNString(subjectdn);        debug("Looking for users with subjectdn: " + dn);        UserAdminData returnval = null;        UserDataLocal data = null;        try{          data = home.findBySubjectDN(dn);        } catch( FinderException e) {            cat.debug("Cannot find user with DN='"+dn+"'");        }        if(globalconfiguration.getEnableEndEntityProfileLimitations()){          // Check if administrator is authorized to view user.          if(!profileauthproxy.getEndEntityProfileAuthorization(admin, data.getEndEntityProfileId(),EndEntityProfileAuthorizationProxy.VIEW_RIGHTS, LogEntry.MODULE_RA))             throw new AuthorizationDeniedException("Administrator not authorized to view user.");          }        if(data != null){          returnval = new UserAdminData(data.getUsername(), data.getSubjectDN(), data.getSubjectAltName() ,data.getSubjectEmail(), data.getStatus()                                        , data.getType(), data.getEndEntityProfileId(), data.getCertificateProfileId()                                        , new java.util.Date(data.getTimeCreated()), new java.util.Date(data.getTimeModified())                                        , data.getTokenType(), data.getHardTokenIssuerId());          returnval.setPassword(data.getClearPassword());        }        debug("<findUserBySubjectDN("+subjectdn+")");        return returnval;    } // findUserBySubjectDN