Package org.jenkinsci.plugins.cas.spring
Class CasConfigurationContext
java.lang.Object
org.jenkinsci.plugins.cas.spring.CasConfigurationContext
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.authentication.AuthenticationEventPublisher
casAuthenticationDetailsSource
(org.springframework.security.cas.ServiceProperties casServiceProperties) org.springframework.security.cas.web.CasAuthenticationEntryPoint
casAuthenticationEntryPoint
(CasSecurityRealm securityRealm, org.springframework.security.cas.ServiceProperties casServiceProperties) 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) org.springframework.security.authentication.AuthenticationManager
casAuthenticationManager
(org.springframework.security.cas.authentication.CasAuthenticationProvider casAuthenticationProvider, org.springframework.security.authentication.AuthenticationEventPublisher authenticationEventPublisher) org.springframework.security.cas.authentication.CasAuthenticationProvider
casAuthenticationProvider
(org.apereo.cas.client.validation.TicketValidator casTicketValidator, CasUserDetailsService casUserDetailsService) casEventListener
(CasProtocol casProtocol) casFilter
(HttpSessionContextIntegrationFilter2 httpSessionContextIntegrationFilter, CasSingleSignOutFilter casSingleSignOutFilter, org.springframework.security.cas.web.CasAuthenticationFilter casAuthenticationFilter) casRestAuthenticator
(CasSecurityRealm securityRealm, org.springframework.security.authentication.AuthenticationManager casAuthenticationManager, DynamicServiceAuthenticationDetailsSource casAuthenticationDetailsSource) org.springframework.security.cas.ServiceProperties
casServiceProperties
(CasSecurityRealm securityRealm, CasProtocol casProtocol) org.apereo.cas.client.session.SessionMappingStorage
casSingleSignOutFilter
(CasSecurityRealm securityRealm, org.apereo.cas.client.session.SingleSignOutHandler casSingleSignOutHandler) org.apereo.cas.client.session.SingleSignOutHandler
casSingleSignOutHandler
(CasProtocol casProtocol, org.apereo.cas.client.session.SessionMappingStorage casSessionMappingStorage) org.apereo.cas.client.validation.TicketValidator
casTicketValidator
(CasSecurityRealm securityRealm, CasProtocol casProtocol) casUserDetailsService
(CasProtocol casProtocol)
-
Constructor Details
-
CasConfigurationContext
public CasConfigurationContext()
-
-
Method Details
-
authenticationEventPublisher
@Bean public org.springframework.security.authentication.AuthenticationEventPublisher authenticationEventPublisher() -
casEventListener
-
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
-
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
-
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)
-