public interface CredentialInputValidator
Modifier and Type | Method and Description |
---|---|
boolean |
isConfiguredFor(RealmModel realm,
UserModel user,
String credentialType) |
boolean |
isValid(RealmModel realm,
UserModel user,
CredentialInput credentialInput)
Tests whether a credential is valid
|
boolean |
supportsCredentialType(String credentialType) |
boolean supportsCredentialType(String credentialType)
boolean isConfiguredFor(RealmModel realm, UserModel user, String credentialType)
boolean isValid(RealmModel realm, UserModel user, CredentialInput credentialInput)
realm
- The realm in which to which the credential belongs touser
- The user for which to test the credentialcredentialInput
- the credential details to verifyCopyright © 2021 JBoss by Red Hat. All rights reserved.