public interface ValidationContext extends FormContext
Modifier and Type | Method and Description |
---|---|
void |
error(String error) |
void |
excludeOtherErrors()
The error messages of this current validation will take precedence over any others.
|
void |
success()
Mark this validation as sucessful
|
void |
validationError(javax.ws.rs.core.MultivaluedMap<String,String> formData,
List<FormMessage> errors)
Mark this validation as having a validation error
|
getAuthenticationSession, getAuthenticatorConfig, getConnection, getEvent, getExecution, getHttpRequest, getRealm, getSession, getUriInfo, getUser, newEvent, setUser
void validationError(javax.ws.rs.core.MultivaluedMap<String,String> formData, List<FormMessage> errors)
formData
- form data you want to display when the form is refreshederrors
- error messages to display on the formvoid error(String error)
void success()
void excludeOtherErrors()
Copyright © 2021 JBoss by Red Hat. All rights reserved.