@Configuration @ConditionalOnWebApplication @EnableConfigurationProperties(value=org.keycloak.adapters.springboot.KeycloakSpringBootProperties.class) @ConditionalOnProperty(value="keycloak.enabled", matchIfMissing=true) public class KeycloakAutoConfiguration extends KeycloakBaseSpringBootConfiguration
Constructor and Description |
---|
KeycloakAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizer |
getKeycloakContainerCustomizer() |
org.springframework.boot.context.embedded.jetty.JettyServerCustomizer |
jettyKeycloakServerCustomizer() |
void |
setKeycloakSpringBootProperties(KeycloakSpringBootProperties keycloakProperties) |
org.springframework.boot.context.embedded.tomcat.TomcatContextCustomizer |
tomcatKeycloakContextCustomizer() |
org.springframework.boot.context.embedded.undertow.UndertowDeploymentInfoCustomizer |
undertowKeycloakContextCustomizer() |
setApplicationContext
@Autowired public void setKeycloakSpringBootProperties(KeycloakSpringBootProperties keycloakProperties)
setKeycloakSpringBootProperties
in class KeycloakBaseSpringBootConfiguration
@Bean public org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizer getKeycloakContainerCustomizer()
@Bean @ConditionalOnClass(name="org.eclipse.jetty.webapp.WebAppContext") public org.springframework.boot.context.embedded.jetty.JettyServerCustomizer jettyKeycloakServerCustomizer()
@Bean @ConditionalOnClass(name="org.apache.catalina.startup.Tomcat") public org.springframework.boot.context.embedded.tomcat.TomcatContextCustomizer tomcatKeycloakContextCustomizer()
@Bean @ConditionalOnClass(name="io.undertow.Undertow") public org.springframework.boot.context.embedded.undertow.UndertowDeploymentInfoCustomizer undertowKeycloakContextCustomizer()
Copyright © 2019 JBoss by Red Hat. All rights reserved.