Package org.keycloak.adapters.springboot
Class KeycloakAutoConfiguration
- java.lang.Object
-
- org.keycloak.adapters.springboot.KeycloakBaseSpringBootConfiguration
-
- org.keycloak.adapters.springboot.KeycloakAutoConfiguration
-
@Configuration @ConditionalOnWebApplication @EnableConfigurationProperties(org.keycloak.adapters.springboot.KeycloakSpringBootProperties.class) @ConditionalOnProperty(value="keycloak.enabled", matchIfMissing=true) public class KeycloakAutoConfiguration extends KeycloakBaseSpringBootConfiguration
Keycloak authentication integration for Spring Boot 2
-
-
Field Summary
-
Fields inherited from class org.keycloak.adapters.springboot.KeycloakBaseSpringBootConfiguration
keycloakProperties
-
-
Constructor Summary
Constructors Constructor Description KeycloakAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory>getKeycloakContainerCustomizer()org.springframework.boot.web.embedded.jetty.JettyServerCustomizerjettyKeycloakServerCustomizer()org.springframework.boot.web.embedded.tomcat.TomcatContextCustomizertomcatKeycloakContextCustomizer()org.springframework.boot.web.embedded.undertow.UndertowDeploymentInfoCustomizerundertowKeycloakContextCustomizer()-
Methods inherited from class org.keycloak.adapters.springboot.KeycloakBaseSpringBootConfiguration
setApplicationContext, setKeycloakSpringBootProperties
-
-
-
-
Method Detail
-
getKeycloakContainerCustomizer
@Bean public org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory> getKeycloakContainerCustomizer()
-
jettyKeycloakServerCustomizer
@Bean @ConditionalOnClass(name="org.eclipse.jetty.webapp.WebAppContext") public org.springframework.boot.web.embedded.jetty.JettyServerCustomizer jettyKeycloakServerCustomizer()
-
tomcatKeycloakContextCustomizer
@Bean @ConditionalOnClass(name="org.apache.catalina.startup.Tomcat") public org.springframework.boot.web.embedded.tomcat.TomcatContextCustomizer tomcatKeycloakContextCustomizer()
-
undertowKeycloakContextCustomizer
@Bean @ConditionalOnClass(name="io.undertow.Undertow") public org.springframework.boot.web.embedded.undertow.UndertowDeploymentInfoCustomizer undertowKeycloakContextCustomizer()
-
-