Class 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
      void addArgumentResolvers​(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)  
      void addInterceptors​(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)  
      org.springframework.security.saml.processor.HTTPArtifactBinding artifactBinding​(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.SAMLContextProvider contextProvider()  
      org.springframework.mobile.device.DeviceHandlerMethodArgumentResolver deviceHandlerMethodArgumentResolver()  
      org.springframework.mobile.device.DeviceResolverHandlerInterceptor deviceResolverHandlerInterceptor()  
      void doSomethingAfterStartup()  
      org.springframework.security.saml.websso.WebSSOProfileECPImpl ecpprofile()  
      org.springframework.security.saml.websso.WebSSOProfileConsumerHoKImpl hokWebSSOProfile()  
      org.springframework.security.saml.websso.WebSSOProfileConsumerHoKImpl hokWebSSOprofileConsumer()  
      org.apache.commons.httpclient.HttpClient httpClient()  
      org.opensaml.saml2.metadata.provider.HTTPMetadataProvider httpMetadataProvider​(org.opensaml.xml.parse.ParserPool parserPool, org.apache.commons.httpclient.HttpClient httpClient, SamlProperties samlProperties)  
      org.springframework.security.saml.processor.HTTPPAOS11Binding httpPAOS11Binding()  
      org.springframework.security.saml.processor.HTTPPostBinding httpPostBinding()  
      org.springframework.security.saml.processor.HTTPRedirectDeflateBinding httpRedirectDeflateBinding()  
      org.springframework.security.saml.processor.HTTPSOAP11Binding httpSOAP11Binding()  
      org.springframework.security.saml.key.JKSKeyManager keyManager​(SamlProperties samlProperties)  
      org.springframework.security.saml.metadata.CachingMetadataManager metadata​(List<org.opensaml.saml2.metadata.provider.MetadataProvider> providers)  
      org.springframework.security.saml.metadata.MetadataGenerator metadataGenerator​(SamlProperties samlProperties)  
      org.opensaml.xml.parse.StaticBasicParserPool parserPool()  
      org.springframework.security.saml.processor.SAMLProcessorImpl processor()  
      org.springframework.security.authentication.AuthenticationProvider samlAuthenticationProvider()  
      static org.springframework.security.saml.SAMLBootstrap samlBootstrap()  
      org.springframework.security.saml.log.SAMLDefaultLogger samlLogger()  
      org.springframework.boot.web.servlet.ServletListenerRegistrationBean<javax.servlet.http.HttpSessionListener> sessionListener()  
      void shutdown()  
      org.springframework.security.saml.websso.SingleLogoutProfile singleLogoutProfile()  
      org.springframework.security.saml.processor.HTTPSOAP11Binding soapBinding()  
      void startup()  
      org.apache.velocity.app.VelocityEngine velocityEngine()  
      org.springframework.security.saml.websso.WebSSOProfile webSSOprofile()  
      • 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
    • Constructor Detail

      • SamlConfigurer

        public SamlConfigurer()
    • Method Detail

      • 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:
        addInterceptors in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
      • addArgumentResolvers

        public void addArgumentResolvers​(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)
        Specified by:
        addArgumentResolvers in interface org.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()