summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/libertacasa/pubsh/web/KeycloakBean.java
blob: 4dcf9cff747a049d28ca54398eead151208b6b47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package net.libertacasa.pubsh.web;

import org.keycloak.adapters.KeycloakConfigResolver;
import org.keycloak.adapters.springboot.KeycloakSpringBootConfigResolver;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class KeycloakBean {
	@Bean
	public KeycloakConfigResolver keycloakConfigResolver() {
	    return new KeycloakSpringBootConfigResolver();
	}
}