pwdCredential = convertCredentialLdapToJetty(pwdCredential);
//String md5Credential = Credential.MD5.digest("foo");
//byte[] ba = digestMD5("foo");
//System.out.println(md5Credential + " " + ba );
Credential credential = Credential.getCredential(pwdCredential);
List roles = getUserRoles(_rootContext, username);
return new UserInfo(username, credential, roles);
}