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 -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory>org.springframework.boot.web.embedded.jetty.JettyServerCustomizerorg.springframework.boot.web.embedded.tomcat.TomcatContextCustomizerorg.springframework.boot.web.embedded.undertow.UndertowDeploymentInfoCustomizerMethods inherited from class org.keycloak.adapters.springboot.KeycloakBaseSpringBootConfiguration
setApplicationContext, setKeycloakSpringBootProperties
-
Constructor Details
-
KeycloakAutoConfiguration
public KeycloakAutoConfiguration()
-
-
Method Details
-
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()
-