org.keycloak.storage.federated

## Interface UserAttributeFederatedStorage

- All Known Subinterfaces:
    UserFederatedStorageProvider
  All Known Implementing Classes:
    JpaUserFederatedStorageProvider

      public interface UserAttributeFederatedStorage

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `MultivaluedHashMap<String,String>` | `getAttributes(RealmModel realm, UserModel user)`
    `List<String>` | `getUsersByUserAttribute(RealmModel realm, String name, String value)`
    `void` | `removeAttribute(RealmModel realm, UserModel user, String name)`
    `void` | `setAttribute(RealmModel realm, UserModel user, String name, List<String> values)`
    `void` | `setSingleAttribute(RealmModel realm, UserModel user, String name, String value)`

- - ### Method Detail

    - #### setSingleAttribute

          void setSingleAttribute(RealmModel realm,
                                  UserModel user,
                                  String name,
                                  String value)

    - #### setAttribute

          void setAttribute(RealmModel realm,
                            UserModel user,
                            String name,
                            List<String> values)

    - #### removeAttribute

          void removeAttribute(RealmModel realm,
                               UserModel user,
                               String name)

    - #### getAttributes

          MultivaluedHashMap<String,String> getAttributes(RealmModel realm,
                                                          UserModel user)

    - #### getUsersByUserAttribute

          List<String> getUsersByUserAttribute(RealmModel realm,
                                               String name,
                                               String value)

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