user.setTokenType(UserDataVOWS.TOKEN_TYPE_USERGENERATED);
user.setEndEntityProfileName("WS_EEPROF_EI");
user.setCertificateProfileName("ENDUSER");
List<ExtendedInformationWS> ei = new ArrayList<ExtendedInformationWS> ();
ei.add(new ExtendedInformationWS (ExtendedInformation.CUSTOMDATA+ExtendedInformation.CUSTOM_REVOCATIONREASON,
Integer.toString(RevokedCertInfo.REVOCATION_REASON_CERTIFICATEHOLD)));
ei.add(new ExtendedInformationWS (ExtendedInformation.SUBJECTDIRATTRIBUTES, "DATEOFBIRTH=19761123"));
user.setExtendedInformation(ei);
ejbcaraws.editUser(user);