Class SamlConfigurer
- java.lang.Object
-
- cronapp.framework.authentication.saml.SamlConfigurer
-
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration public class SamlConfigurer extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
-
Constructor Summary
Constructors Constructor Description SamlConfigurer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)voidaddInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)org.springframework.security.saml.processor.HTTPArtifactBindingartifactBinding(org.opensaml.xml.parse.ParserPool parserPool, org.apache.velocity.app.VelocityEngine velocityEngine)org.springframework.boot.web.servlet.FilterRegistrationBean<CorsFilter>configureFilters()org.springframework.security.saml.context.SAMLContextProvidercontextProvider()org.springframework.mobile.device.DeviceHandlerMethodArgumentResolverdeviceHandlerMethodArgumentResolver()org.springframework.mobile.device.DeviceResolverHandlerInterceptordeviceResolverHandlerInterceptor()voiddoSomethingAfterStartup()org.springframework.security.saml.websso.WebSSOProfileECPImplecpprofile()org.springframework.security.saml.websso.WebSSOProfileConsumerHoKImplhokWebSSOProfile()org.springframework.security.saml.websso.WebSSOProfileConsumerHoKImplhokWebSSOprofileConsumer()org.apache.commons.httpclient.HttpClienthttpClient()org.opensaml.saml2.metadata.provider.HTTPMetadataProviderhttpMetadataProvider(org.opensaml.xml.parse.ParserPool parserPool, org.apache.commons.httpclient.HttpClient httpClient, SamlProperties samlProperties)org.springframework.security.saml.processor.HTTPPAOS11BindinghttpPAOS11Binding()org.springframework.security.saml.processor.HTTPPostBindinghttpPostBinding()org.springframework.security.saml.processor.HTTPRedirectDeflateBindinghttpRedirectDeflateBinding()org.springframework.security.saml.processor.HTTPSOAP11BindinghttpSOAP11Binding()org.springframework.security.saml.key.JKSKeyManagerkeyManager(SamlProperties samlProperties)org.springframework.security.saml.metadata.CachingMetadataManagermetadata(List<org.opensaml.saml2.metadata.provider.MetadataProvider> providers)org.springframework.security.saml.metadata.MetadataGeneratormetadataGenerator(SamlProperties samlProperties)org.opensaml.xml.parse.StaticBasicParserPoolparserPool()org.springframework.security.saml.processor.SAMLProcessorImplprocessor()org.springframework.security.authentication.AuthenticationProvidersamlAuthenticationProvider()static org.springframework.security.saml.SAMLBootstrapsamlBootstrap()org.springframework.security.saml.log.SAMLDefaultLoggersamlLogger()org.springframework.boot.web.servlet.ServletListenerRegistrationBean<javax.servlet.http.HttpSessionListener>sessionListener()voidshutdown()org.springframework.security.saml.websso.SingleLogoutProfilesingleLogoutProfile()org.springframework.security.saml.processor.HTTPSOAP11BindingsoapBinding()voidstartup()org.apache.velocity.app.VelocityEnginevelocityEngine()org.springframework.security.saml.websso.WebSSOProfilewebSSOprofile()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addCorsMappings, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
-
-
-
Method Detail
-
startup
@PostConstruct public void startup() throws GeneralSecurityException, IOException- Throws:
GeneralSecurityExceptionIOException
-
shutdown
@PreDestroy public void shutdown()
-
configureFilters
@Bean public org.springframework.boot.web.servlet.FilterRegistrationBean<CorsFilter> configureFilters()
-
doSomethingAfterStartup
@EventListener(org.springframework.boot.context.event.ApplicationReadyEvent.class) public void doSomethingAfterStartup()
-
sessionListener
@Bean public org.springframework.boot.web.servlet.ServletListenerRegistrationBean<javax.servlet.http.HttpSessionListener> sessionListener()
-
deviceResolverHandlerInterceptor
@Bean public org.springframework.mobile.device.DeviceResolverHandlerInterceptor deviceResolverHandlerInterceptor()
-
deviceHandlerMethodArgumentResolver
@Bean public org.springframework.mobile.device.DeviceHandlerMethodArgumentResolver deviceHandlerMethodArgumentResolver()
-
addInterceptors
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
- Specified by:
addInterceptorsin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
addArgumentResolvers
public void addArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)
- Specified by:
addArgumentResolversin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
metadataGenerator
@Bean public org.springframework.security.saml.metadata.MetadataGenerator metadataGenerator(SamlProperties samlProperties)
-
contextProvider
@Bean public org.springframework.security.saml.context.SAMLContextProvider contextProvider()
-
keyManager
@Bean public org.springframework.security.saml.key.JKSKeyManager keyManager(SamlProperties samlProperties)
-
httpMetadataProvider
@Bean public org.opensaml.saml2.metadata.provider.HTTPMetadataProvider httpMetadataProvider(org.opensaml.xml.parse.ParserPool parserPool, org.apache.commons.httpclient.HttpClient httpClient, SamlProperties samlProperties) throws Exception- Throws:
Exception
-
metadata
@Bean public org.springframework.security.saml.metadata.CachingMetadataManager metadata(List<org.opensaml.saml2.metadata.provider.MetadataProvider> providers) throws Exception
- Throws:
Exception
-
samlLogger
@Bean public org.springframework.security.saml.log.SAMLDefaultLogger samlLogger()
-
samlBootstrap
@Bean public static org.springframework.security.saml.SAMLBootstrap samlBootstrap()
-
webSSOprofile
@Bean public org.springframework.security.saml.websso.WebSSOProfile webSSOprofile()
-
processor
@Bean public org.springframework.security.saml.processor.SAMLProcessorImpl processor()
-
velocityEngine
@Bean public org.apache.velocity.app.VelocityEngine velocityEngine()
-
parserPool
@Bean(initMethod="initialize") public org.opensaml.xml.parse.StaticBasicParserPool parserPool()
-
httpClient
@Bean public org.apache.commons.httpclient.HttpClient httpClient()
-
artifactBinding
@Bean public org.springframework.security.saml.processor.HTTPArtifactBinding artifactBinding(org.opensaml.xml.parse.ParserPool parserPool, org.apache.velocity.app.VelocityEngine velocityEngine)
-
soapBinding
@Bean public org.springframework.security.saml.processor.HTTPSOAP11Binding soapBinding()
-
httpPostBinding
@Bean public org.springframework.security.saml.processor.HTTPPostBinding httpPostBinding()
-
httpRedirectDeflateBinding
@Bean public org.springframework.security.saml.processor.HTTPRedirectDeflateBinding httpRedirectDeflateBinding()
-
httpSOAP11Binding
@Bean public org.springframework.security.saml.processor.HTTPSOAP11Binding httpSOAP11Binding()
-
httpPAOS11Binding
@Bean public org.springframework.security.saml.processor.HTTPPAOS11Binding httpPAOS11Binding()
-
singleLogoutProfile
@Bean public org.springframework.security.saml.websso.SingleLogoutProfile singleLogoutProfile()
-
samlAuthenticationProvider
@Bean public org.springframework.security.authentication.AuthenticationProvider samlAuthenticationProvider()
-
hokWebSSOprofileConsumer
@Bean public org.springframework.security.saml.websso.WebSSOProfileConsumerHoKImpl hokWebSSOprofileConsumer()
-
hokWebSSOProfile
@Bean public org.springframework.security.saml.websso.WebSSOProfileConsumerHoKImpl hokWebSSOProfile()
-
ecpprofile
@Bean public org.springframework.security.saml.websso.WebSSOProfileECPImpl ecpprofile()
-
-