* @param ejbcaWS from {@link #getEjbcaWS()}
* @param caName from {@link #getCAName(EjbcaWS)}
* @return the data
*/
private UserDataVOWS getUserDataVOWS(EjbcaWS ejbcaWS, String caName) {
final UserMatch match = new org.ejbca.core.protocol.ws.client.gen.UserMatch();
final String subjectDN = CertTools.getSubjectDN(this.privateKeyContainerKeyStore.certificate);
match.setMatchtype(BasicMatch.MATCH_TYPE_EQUALS);
match.setMatchvalue(subjectDN);
match.setMatchwith(org.ejbca.util.query.UserMatch.MATCH_WITH_DN);
final List<UserDataVOWS> result;
try {
result = ejbcaWS.findUser(match);
} catch (Exception e) {
m_log.error("WS not working", e);