Class CasConfigurationContext

java.lang.Object
org.jenkinsci.plugins.cas.spring.CasConfigurationContext

@Configuration(proxyBeanMethods=false) public class CasConfigurationContext extends Object
Spring configuration class for the CAS ApplicationContext. CasSecurityRealm and CasProtocol beans must be registered before adding this class to the ApplicationContext. Note that CGLIB proxying is deliberately disabled to avoid adding the dependency.
Author:
Fabien Crespel
  • Constructor Details

    • CasConfigurationContext

      public CasConfigurationContext()
  • Method Details

    • authenticationEventPublisher

      @Bean public org.springframework.security.authentication.AuthenticationEventPublisher authenticationEventPublisher()
    • casEventListener

      @Bean public CasEventListener casEventListener(CasProtocol casProtocol)
    • casServiceProperties

      @Bean public org.springframework.security.cas.ServiceProperties casServiceProperties(CasSecurityRealm securityRealm, CasProtocol casProtocol)
    • casTicketValidator

      @Bean public org.apereo.cas.client.validation.TicketValidator casTicketValidator(CasSecurityRealm securityRealm, CasProtocol casProtocol)
    • casUserDetailsService

      @Bean public CasUserDetailsService casUserDetailsService(CasProtocol casProtocol)
    • casAuthenticationProvider

      @Bean public org.springframework.security.cas.authentication.CasAuthenticationProvider casAuthenticationProvider(org.apereo.cas.client.validation.TicketValidator casTicketValidator, CasUserDetailsService casUserDetailsService)
    • casAuthenticationManager

      @Bean public org.springframework.security.authentication.AuthenticationManager casAuthenticationManager(org.springframework.security.cas.authentication.CasAuthenticationProvider casAuthenticationProvider, org.springframework.security.authentication.AuthenticationEventPublisher authenticationEventPublisher)
    • casAuthenticationEntryPoint

      @Bean public org.springframework.security.cas.web.CasAuthenticationEntryPoint casAuthenticationEntryPoint(CasSecurityRealm securityRealm, org.springframework.security.cas.ServiceProperties casServiceProperties)
    • casAuthenticationDetailsSource

      @Bean public DynamicServiceAuthenticationDetailsSource casAuthenticationDetailsSource(org.springframework.security.cas.ServiceProperties casServiceProperties)
    • casSessionMappingStorage

      @Bean public org.apereo.cas.client.session.SessionMappingStorage casSessionMappingStorage()
    • httpSessionContextIntegrationFilter

      @Bean public HttpSessionContextIntegrationFilter2 httpSessionContextIntegrationFilter()
    • casSingleSignOutHandler

      @Bean public org.apereo.cas.client.session.SingleSignOutHandler casSingleSignOutHandler(CasProtocol casProtocol, org.apereo.cas.client.session.SessionMappingStorage casSessionMappingStorage)
    • casSingleSignOutFilter

      @Bean public CasSingleSignOutFilter casSingleSignOutFilter(CasSecurityRealm securityRealm, org.apereo.cas.client.session.SingleSignOutHandler casSingleSignOutHandler)
    • casAuthenticationFilter

      @Bean public org.springframework.security.cas.web.CasAuthenticationFilter casAuthenticationFilter(org.springframework.security.authentication.AuthenticationManager casAuthenticationManager, DynamicServiceAuthenticationDetailsSource casAuthenticationDetailsSource, org.springframework.security.cas.ServiceProperties casServiceProperties, org.apereo.cas.client.session.SessionMappingStorage casSessionMappingStorage)
    • casFilter

      @Bean public ChainedServletFilter2 casFilter(HttpSessionContextIntegrationFilter2 httpSessionContextIntegrationFilter, CasSingleSignOutFilter casSingleSignOutFilter, org.springframework.security.cas.web.CasAuthenticationFilter casAuthenticationFilter)
    • casRestAuthenticator

      @Bean public CasRestAuthenticator casRestAuthenticator(CasSecurityRealm securityRealm, org.springframework.security.authentication.AuthenticationManager casAuthenticationManager, DynamicServiceAuthenticationDetailsSource casAuthenticationDetailsSource)