org.keycloak.services.validation

## Class Validation

- java.lang.Object
- - org.keycloak.services.validation.Validation

-     public class Validation
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Validation()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static boolean` | `isEmailValid(String email)`
    `static boolean` | `isEmpty(String s)`
    `static String` | `validatePassword(javax.ws.rs.core.MultivaluedMap<String,String> formData, PasswordPolicy policy)`
    `static String` | `validateRegistrationForm(javax.ws.rs.core.MultivaluedMap<String,String> formData, List<String> requiredCredentialTypes)`
    `static String` | `validateUpdateProfileForm(javax.ws.rs.core.MultivaluedMap<String,String> formData)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Validation

          public Validation()

  - ### Method Detail

    - #### validateRegistrationForm

          public static String validateRegistrationForm(javax.ws.rs.core.MultivaluedMap<String,String> formData,
                                        List<String> requiredCredentialTypes)

    - #### validatePassword

          public static String validatePassword(javax.ws.rs.core.MultivaluedMap<String,String> formData,
                                PasswordPolicy policy)

    - #### validateUpdateProfileForm

          public static String validateUpdateProfileForm(javax.ws.rs.core.MultivaluedMap<String,String> formData)

    - #### isEmpty

          public static boolean isEmpty(String s)

    - #### isEmailValid

          public static boolean isEmailValid(String email)

Copyright © 2015. All Rights Reserved.