# Package org.keycloak.userprofile.validator

- Class Summary
  Class | Description
  --- | ---
  AttributeRequiredByMetadataValidator | Validator to check that User Profile attribute value is not blank (nor null) if the attribute is required based on AttributeMetadata predicate.
  BlankAttributeValidator | Validator to check that User Profile attribute value is not blank (null value is OK!).
  BrokeringFederatedUsernameHasValueValidator | Validator to check that User Profile username is provided during Brokerin/Federation.
  DuplicateEmailValidator | Validator to check User Profile email duplication conditions based on realm settings like isDuplicateEmailsAllowed.
  DuplicateUsernameValidator | Validator to check that User Profile username already exists in database for another user in case of it's change, and fail in this case.
  EmailExistsAsUsernameValidator | Validator to check User Profile email duplication conditions if isDuplicateEmailsAllowed is false but isRegistrationEmailAsUsername is true.
  ImmutableAttributeValidator | A validator that fails when the attribute is marked as read only and its value has changed.
  ReadOnlyAttributeUnchangedValidator | Validator to check that User Profile attribute value is not changed if attribute is read-only.
  RegistrationEmailAsUsernameEmailValueValidator | Validator to check User Profile email attribute value during Registration when "RegistrationEmailAsUsername()" is enabled.
  RegistrationEmailAsUsernameUsernameValueValidator | Validator to check User Profile username attribute value during Registration when "RegistrationEmailAsUsername()" is enabled.
  RegistrationUsernameExistsValidator | Validator to check User Profile username attribute uniqueness during registration (when "RegistrationEmailAsUsername()" is NOT enabled).
  UsernameHasValueValidator | Validator to check that User Profile username is provided.
  UsernameMutationValidator | Validator to check User Profile username change and prevent it if not allowed in realm.

Copyright © 2021 JBoss by Red Hat. All rights reserved.