boolean success = identitySession.getAttributesManager().validateCredentials( u, new Credential[]{credentials.getCredential()});
boolean success = identitySession.getAttributesManager().validateCredentials( u, new Credential[]{credentials.getCredential()});