Class CasManagementWebAppConfiguration

  • All Implemented Interfaces:
    org.springframework.web.servlet.config.annotation.WebMvcConfigurer

    @Configuration(value="casManagementWebAppConfiguration",
                   proxyBeanMethods=false)
    @EnableConfigurationProperties({org.apereo.cas.configuration.CasConfigurationProperties.class,org.apereo.cas.configuration.CasManagementConfigurationProperties.class})
    public class CasManagementWebAppConfiguration
    extends java.lang.Object
    implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
    Since:
    5.0.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addResourceHandlers​(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)  
      org.springframework.web.servlet.HandlerInterceptor casManagementLocaleChangeInterceptor​(org.apereo.cas.configuration.CasConfigurationProperties casProperties)  
      org.springframework.web.servlet.LocaleResolver casManagementLocaleResolver​(org.apereo.cas.configuration.CasManagementConfigurationProperties managementProperties)  
      org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter casManagementSimpleControllerHandlerAdapter()  
      org.thymeleaf.spring5.templateresolver.SpringResourceTemplateResolver casManagementTemplateResolver​(org.springframework.context.ConfigurableApplicationContext applicationContext)  
      org.apereo.cas.mgmt.web.DefaultCasManagementEventListener defaultCasManagementEventListener()  
      org.springframework.web.servlet.handler.SimpleUrlHandlerMapping handlerMapping()  
      org.pac4j.core.config.Config pac4jClientConfiguration​(org.springframework.boot.autoconfigure.web.ServerProperties serverProperties, java.util.List<org.pac4j.core.client.Client> authenticationClients, org.pac4j.core.authorization.authorizer.Authorizer managementWebappAuthorizer, org.apereo.cas.configuration.CasManagementConfigurationProperties managementProperties)  
      protected org.springframework.web.servlet.mvc.UrlFilenameViewController passThroughController()  
      java.util.Collection<org.apereo.cas.oidc.claims.BaseOidcScopeAttributeReleasePolicy> userDefinedScopeBasedAttributeReleasePolicies​(org.apereo.cas.configuration.CasConfigurationProperties casProperties)  
      org.apereo.cas.mgmt.controller.ViewController viewController()  
      • 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

        addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
    • Constructor Detail

      • CasManagementWebAppConfiguration

        public CasManagementWebAppConfiguration()
    • Method Detail

      • handlerMapping

        @Bean
        public org.springframework.web.servlet.handler.SimpleUrlHandlerMapping handlerMapping()
      • casManagementLocaleResolver

        @ConditionalOnMissingBean(name="localeResolver")
        @Bean
        public org.springframework.web.servlet.LocaleResolver casManagementLocaleResolver​(org.apereo.cas.configuration.CasManagementConfigurationProperties managementProperties)
      • casManagementLocaleChangeInterceptor

        @Bean(name="localeChangeInterceptor")
        public org.springframework.web.servlet.HandlerInterceptor casManagementLocaleChangeInterceptor​(org.apereo.cas.configuration.CasConfigurationProperties casProperties)
      • casManagementSimpleControllerHandlerAdapter

        @Bean
        public org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter casManagementSimpleControllerHandlerAdapter()
      • userDefinedScopeBasedAttributeReleasePolicies

        @Bean
        public java.util.Collection<org.apereo.cas.oidc.claims.BaseOidcScopeAttributeReleasePolicy> userDefinedScopeBasedAttributeReleasePolicies​(org.apereo.cas.configuration.CasConfigurationProperties casProperties)
      • defaultCasManagementEventListener

        @Bean
        public org.apereo.cas.mgmt.web.DefaultCasManagementEventListener defaultCasManagementEventListener()
      • casManagementTemplateResolver

        @Bean
        public org.thymeleaf.spring5.templateresolver.SpringResourceTemplateResolver casManagementTemplateResolver​(org.springframework.context.ConfigurableApplicationContext applicationContext)
      • addResourceHandlers

        public void addResourceHandlers​(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
        Specified by:
        addResourceHandlers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
      • viewController

        @Bean
        public org.apereo.cas.mgmt.controller.ViewController viewController()
      • pac4jClientConfiguration

        @ConditionalOnMissingBean(name="pac4jClientConfiguration")
        @Bean
        public org.pac4j.core.config.Config pac4jClientConfiguration​(org.springframework.boot.autoconfigure.web.ServerProperties serverProperties,
                                                                     java.util.List<org.pac4j.core.client.Client> authenticationClients,
                                                                     @Qualifier("managementWebappAuthorizer")
                                                                     org.pac4j.core.authorization.authorizer.Authorizer managementWebappAuthorizer,
                                                                     org.apereo.cas.configuration.CasManagementConfigurationProperties managementProperties)
      • passThroughController

        @Bean
        protected org.springframework.web.servlet.mvc.UrlFilenameViewController passThroughController()