it.vige.school.rooms.jpa.RoomsJpaEntityProviderFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of school-keycloak-rooms Show documentation
Show all versions of school-keycloak-rooms Show documentation
School Keycloak Rooms Configuration
package it.vige.school.rooms.jpa;
import org.keycloak.Config.Scope;
import org.keycloak.connections.jpa.entityprovider.JpaEntityProvider;
import org.keycloak.connections.jpa.entityprovider.JpaEntityProviderFactory;
import org.keycloak.models.KeycloakSession;
import org.keycloak.models.KeycloakSessionFactory;
public class RoomsJpaEntityProviderFactory implements JpaEntityProviderFactory {
protected static final String ID = "rooms-entity-provider";
@Override
public JpaEntityProvider create(KeycloakSession session) {
return new RoomsJpaEntityProvider();
}
@Override
public String getId() {
return ID;
}
@Override
public void init(Scope config) {
}
@Override
public void postInit(KeycloakSessionFactory factory) {
}
@Override
public void close() {
}
}