int profileid = userdata.getEndEntityProfileId(); int certificatetypeid =userdata.getCertificateProfileId();
    public void changeUserData(UserView userdata) throws Exception {        log.debug(">changeUserData()");        int profileid = userdata.getEndEntityProfileId();        int certificatetypeid =userdata.getCertificateProfileId();        addedusermemory.changeUser(userdata);        if(userdata.getPassword() != null && userdata.getPassword().trim().equals(""))          userdata.setPassword(null);        adminsession.changeUser(administrator, userdata.getUsername(), userdata.getPassword(), userdata.getSubjectDN(), userdata.getSubjectAltName(),                                userdata.getEmail(),  userdata.getClearTextPassword(), userdata.getEndEntityProfileId(),                                userdata.getCertificateProfileId(), userdata.getType(),                                userdata.getTokenType(), userdata.getHardTokenIssuerId(), userdata.getStatus(), userdata.getCAId());        log.debug("<changeUserData()");    }