public abstract class SAMLWebSecurityConfigurerAdapter
extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
Modifier and Type | Field and Description |
---|---|
protected org.springframework.core.env.Environment |
env
Provides an opportunity for child class to access Spring environment, if needed.
|
Constructor and Description |
---|
SAMLWebSecurityConfigurerAdapter() |
Modifier and Type | Method and Description |
---|---|
org.springframework.security.saml.processor.HTTPArtifactBinding |
artifactBinding() |
org.springframework.security.authentication.AuthenticationManager |
authenticationManagerBean() |
protected void |
configure(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth) |
org.springframework.security.saml.context.SAMLContextProviderLB |
contextProvider() |
org.springframework.security.saml.websso.WebSSOProfileECPImpl |
ecpprofile() |
org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler |
failureRedirectHandler() |
org.springframework.security.web.FilterChainProxy |
filterChainProxy() |
org.springframework.security.saml.websso.WebSSOProfileConsumerHoKImpl |
hokWebSSOProfile() |
org.springframework.security.saml.websso.WebSSOProfileConsumerHoKImpl |
hokWebSSOprofileConsumer() |
org.apache.commons.httpclient.HttpClient |
httpClient() |
org.springframework.security.saml.key.KeyManager |
keyManager() |
org.springframework.security.web.authentication.logout.SecurityContextLogoutHandler |
logoutHandler() |
org.springframework.security.saml.websso.SingleLogoutProfile |
logoutprofile() |
org.springframework.security.saml.metadata.CachingMetadataManager |
metadata() |
org.springframework.security.saml.metadata.MetadataDisplayFilter |
metadataDisplayFilter() |
org.springframework.security.saml.metadata.MetadataGeneratorFilter |
metadataGeneratorFilter() |
protected org.springframework.security.config.annotation.web.builders.HttpSecurity |
mockSecurity(org.springframework.security.config.annotation.web.builders.HttpSecurity http,
org.springframework.security.core.userdetails.User user)
Mocks security by hardcoding a given user so that it will always appear that user is accessing the protected
resources.
|
org.springframework.security.saml.processor.HTTPPAOS11Binding |
paosBinding() |
org.opensaml.xml.parse.StaticBasicParserPool |
parserPool() |
org.springframework.security.saml.parser.ParserPoolHolder |
parserPoolHolder() |
org.springframework.security.saml.processor.HTTPPostBinding |
postBinding() |
org.springframework.security.saml.processor.SAMLProcessorImpl |
processor() |
org.apache.commons.httpclient.protocol.Protocol |
protocol() |
org.apache.commons.httpclient.protocol.ProtocolSocketFactory |
protocolSocketFactory() |
org.springframework.security.saml.processor.HTTPRedirectDeflateBinding |
redirectDeflateBinding() |
org.springframework.security.saml.SAMLAuthenticationProvider |
samlAuthenticationProvider() |
static org.springframework.security.saml.SAMLBootstrap |
samlBootstrap() |
protected abstract SAMLConfigBean |
samlConfigBean()
Sp's SAMLConfigBean to further customize this security configuration.
|
org.springframework.security.saml.SAMLEntryPoint |
samlEntryPoint() |
org.springframework.security.saml.SAMLDiscovery |
samlIDPDiscovery() |
protected org.springframework.security.config.annotation.web.builders.HttpSecurity |
samlizedConfig(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
Fluent API that pre-configures HttpSecurity with SAML specific configuration.
|
protected org.springframework.security.config.annotation.web.builders.WebSecurity |
samlizedConfig(org.springframework.security.config.annotation.web.builders.WebSecurity web)
Fluent API that pre-configures WebSecurity with SAML specific configuration.
|
org.springframework.security.saml.log.SAMLDefaultLogger |
samlLogger() |
org.springframework.security.saml.SAMLLogoutFilter |
samlLogoutFilter() |
org.springframework.security.saml.SAMLLogoutProcessingFilter |
samlLogoutProcessingFilter() |
org.springframework.security.saml.SAMLProcessingFilter |
samlProcessingFilter() |
org.springframework.security.saml.SAMLWebSSOHoKProcessingFilter |
samlWebSSOHoKProcessingFilter() |
org.springframework.security.saml.processor.HTTPSOAP11Binding |
soapBinding() |
org.springframework.beans.factory.config.MethodInvokingFactoryBean |
socketFactoryInitialization() |
org.springframework.security.web.authentication.logout.SimpleUrlLogoutSuccessHandler |
successLogoutHandler() |
org.springframework.security.web.authentication.SavedRequestAwareAuthenticationSuccessHandler |
successRedirectHandler() |
org.springframework.security.saml.trust.httpclient.TLSProtocolConfigurer |
tlsProtocolConfigurer() |
org.apache.velocity.app.VelocityEngine |
velocityEngine() |
org.springframework.security.saml.websso.WebSSOProfile |
webSSOprofile() |
org.springframework.security.saml.websso.WebSSOProfileConsumer |
webSSOprofileConsumer() |
org.springframework.security.saml.websso.WebSSOProfileOptions |
webSSOProfileOptions()
Customizing SAML request message to be sent to the IDP.
|
authenticationManager, configure, configure, getApplicationContext, getHttp, init, setApplicationContext, setAuthenticationConfiguration, setContentNegotationStrategy, setObjectPostProcessor, setTrustResolver, userDetailsService, userDetailsServiceBean
@Autowired protected org.springframework.core.env.Environment env
@Bean public static org.springframework.security.saml.SAMLBootstrap samlBootstrap()
@Bean protected abstract SAMLConfigBean samlConfigBean()
protected final org.springframework.security.config.annotation.web.builders.HttpSecurity samlizedConfig(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception
http
- HttpSecurity instanceException
- Exceptionprotected final org.springframework.security.config.annotation.web.builders.HttpSecurity mockSecurity(org.springframework.security.config.annotation.web.builders.HttpSecurity http, org.springframework.security.core.userdetails.User user)
http
- HttpSecurity instanceuser
- User instanceprotected final org.springframework.security.config.annotation.web.builders.WebSecurity samlizedConfig(org.springframework.security.config.annotation.web.builders.WebSecurity web) throws Exception
web
- WebSecurity instanceException
- Exception@Bean public org.springframework.security.saml.SAMLEntryPoint samlEntryPoint()
@Bean public org.springframework.security.saml.websso.WebSSOProfileOptions webSSOProfileOptions()
@Bean public org.springframework.security.saml.metadata.MetadataGeneratorFilter metadataGeneratorFilter()
@Bean public org.apache.commons.httpclient.HttpClient httpClient()
@Bean public org.springframework.security.web.FilterChainProxy filterChainProxy() throws Exception
Exception
@Bean public org.springframework.security.web.authentication.SavedRequestAwareAuthenticationSuccessHandler successRedirectHandler()
@Bean public org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler failureRedirectHandler()
@Bean public org.springframework.security.web.authentication.logout.SimpleUrlLogoutSuccessHandler successLogoutHandler()
@Bean public org.springframework.security.authentication.AuthenticationManager authenticationManagerBean() throws Exception
authenticationManagerBean
in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
Exception
protected void configure(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth) throws Exception
configure
in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
Exception
@Bean public org.springframework.security.saml.log.SAMLDefaultLogger samlLogger()
@Bean public org.springframework.security.saml.key.KeyManager keyManager()
@Bean public org.springframework.security.saml.SAMLDiscovery samlIDPDiscovery()
@Bean public org.springframework.security.saml.metadata.MetadataDisplayFilter metadataDisplayFilter()
@Bean public org.springframework.security.saml.trust.httpclient.TLSProtocolConfigurer tlsProtocolConfigurer()
@Bean public org.apache.commons.httpclient.protocol.ProtocolSocketFactory protocolSocketFactory()
@Bean public org.apache.commons.httpclient.protocol.Protocol protocol()
@PostConstruct public org.springframework.beans.factory.config.MethodInvokingFactoryBean socketFactoryInitialization()
@Bean public org.springframework.security.saml.metadata.CachingMetadataManager metadata() throws org.opensaml.saml2.metadata.provider.MetadataProviderException
org.opensaml.saml2.metadata.provider.MetadataProviderException
@Bean public org.springframework.security.saml.SAMLAuthenticationProvider samlAuthenticationProvider()
@Bean public org.springframework.security.saml.context.SAMLContextProviderLB contextProvider()
@Bean public org.springframework.security.saml.SAMLProcessingFilter samlProcessingFilter() throws Exception
Exception
@Bean public org.springframework.security.saml.SAMLWebSSOHoKProcessingFilter samlWebSSOHoKProcessingFilter() throws Exception
Exception
@Bean public org.springframework.security.web.authentication.logout.SecurityContextLogoutHandler logoutHandler()
@Bean public org.springframework.security.saml.SAMLLogoutFilter samlLogoutFilter()
@Bean public org.springframework.security.saml.SAMLLogoutProcessingFilter samlLogoutProcessingFilter()
@Bean public org.springframework.security.saml.processor.SAMLProcessorImpl processor()
@Bean public org.springframework.security.saml.websso.WebSSOProfileConsumer webSSOprofileConsumer()
@Bean public org.springframework.security.saml.websso.WebSSOProfileConsumerHoKImpl hokWebSSOprofileConsumer()
@Bean public org.springframework.security.saml.websso.WebSSOProfile webSSOprofile()
@Bean public org.springframework.security.saml.websso.WebSSOProfileConsumerHoKImpl hokWebSSOProfile()
@Bean public org.springframework.security.saml.websso.WebSSOProfileECPImpl ecpprofile()
@Bean public org.springframework.security.saml.websso.SingleLogoutProfile logoutprofile()
@Bean public org.springframework.security.saml.processor.HTTPPostBinding postBinding()
@Bean public org.springframework.security.saml.processor.HTTPRedirectDeflateBinding redirectDeflateBinding()
@Bean public org.springframework.security.saml.processor.HTTPArtifactBinding artifactBinding()
@Bean public org.springframework.security.saml.processor.HTTPSOAP11Binding soapBinding()
@Bean public org.springframework.security.saml.processor.HTTPPAOS11Binding paosBinding()
@Bean public org.apache.velocity.app.VelocityEngine velocityEngine()
@Bean(initMethod="initialize") public org.opensaml.xml.parse.StaticBasicParserPool parserPool()
@Bean public org.springframework.security.saml.parser.ParserPoolHolder parserPoolHolder()
Copyright © 2017. All rights reserved.