org.keycloak.userprofile

## Class LegacyUserProfileProvider

- java.lang.Object
- - org.keycloak.userprofile.LegacyUserProfileProvider

- All Implemented Interfaces:
    Provider, UserProfileProvider

      public class LegacyUserProfileProvider
      extends Object
      implements UserProfileProvider

  Author:
    Markus Till

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `LegacyUserProfileProvider(KeycloakSession session, Pattern readOnlyAttributes, Pattern adminReadOnlyAttributes)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `boolean` | `isReadOnlyAttribute(String key)`
    `UserProfileValidationResult` | `validate(UserProfileContext updateContext, UserProfile updatedProfile)`

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

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

- - ### Constructor Detail

    - #### LegacyUserProfileProvider

          public LegacyUserProfileProvider(KeycloakSession session,
                                           Pattern readOnlyAttributes,
                                           Pattern adminReadOnlyAttributes)

  - ### Method Detail

    - #### close

          public void close()

      Specified by:
        `close` in interface `Provider`

    - #### validate

          public UserProfileValidationResult validate(UserProfileContext updateContext,
                                                      UserProfile updatedProfile)

      Specified by:
        `validate` in interface `UserProfileProvider`

    - #### isReadOnlyAttribute

          public boolean isReadOnlyAttribute(String key)

      Specified by:
        `isReadOnlyAttribute` in interface `UserProfileProvider`

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