All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.phasetwo.keycloak.resources.RealmAttributesResourceProviderFactory Maven / Gradle / Ivy

The newest version!
package io.phasetwo.keycloak.resources;

import com.google.auto.service.AutoService;
import lombok.extern.jbosslog.JBossLog;
import org.keycloak.Config;
import org.keycloak.models.KeycloakSession;
import org.keycloak.models.KeycloakSessionFactory;
import org.keycloak.services.resource.RealmResourceProviderFactory;

/** */
@JBossLog
@AutoService(RealmResourceProviderFactory.class)
public class RealmAttributesResourceProviderFactory implements RealmResourceProviderFactory {

  private static final String ID = "attributes";

  @Override
  public String getId() {
    return ID;
  }

  @Override
  public void close() {}

  @Override
  public RealmAttributesResourceProvider create(KeycloakSession session) {
    return new RealmAttributesResourceProvider(session);
  }

  @Override
  public void init(Config.Scope config) {}

  @Override
  public void postInit(KeycloakSessionFactory factory) {}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy