Package org.jboss.hal.core.elytron
Class CredentialReference.CrFormValuesValidation
- java.lang.Object
-
- org.jboss.hal.core.elytron.CredentialReference.CrFormValuesValidation
-
- All Implemented Interfaces:
FormValidation<ModelNode>
- Enclosing class:
- CredentialReference
public static class CredentialReference.CrFormValuesValidation extends Object implements FormValidation<ModelNode>
When adding or updating the credential-reference, we need to follow the following rules:- either 'clear-text' must be specified on its own, or
- 'store' needs to be specified with at least one of
- 'clear-text' or
- 'alias'
-
-
Constructor Summary
Constructors Constructor Description CrFormValuesValidation(Resources resources)CrFormValuesValidation(Resources resources, boolean prefixed)CrFormValuesValidation(Resources resources, String customName)
-
-
-
Method Detail
-
validate
public ValidationResult validate(Form<ModelNode> form)
- Specified by:
validatein interfaceFormValidation<ModelNode>
-
-