public class SAMLContextProviderConfigurer extends org.springframework.security.config.annotation.SecurityConfigurerAdapter<Void,ServiceProviderBuilder>
SAMLContextProvider bean.
Common strategy across most internal configurers is to first give priority to a Spring Bean if present in the
Context. So if not SAMLContextProvider bean is defined, priority goes to a custom SAMLContextProvider
provided explicitly to this configurer through the constructor. And if not provided through the constructor, a
default implementation is instantiated.
| Constructor and Description |
|---|
SAMLContextProviderConfigurer() |
SAMLContextProviderConfigurer(org.springframework.security.saml.context.SAMLContextProvider samlContextProvider) |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(ServiceProviderBuilder builder) |
protected org.springframework.security.saml.context.SAMLContextProvider |
createDefaultSamlContextProvider() |
void |
init(ServiceProviderBuilder builder) |
public SAMLContextProviderConfigurer(org.springframework.security.saml.context.SAMLContextProvider samlContextProvider)
public SAMLContextProviderConfigurer()
public void init(ServiceProviderBuilder builder) throws Exception
init in interface org.springframework.security.config.annotation.SecurityConfigurer<Void,ServiceProviderBuilder>init in class org.springframework.security.config.annotation.SecurityConfigurerAdapter<Void,ServiceProviderBuilder>Exceptionpublic void configure(ServiceProviderBuilder builder) throws Exception
configure in interface org.springframework.security.config.annotation.SecurityConfigurer<Void,ServiceProviderBuilder>configure in class org.springframework.security.config.annotation.SecurityConfigurerAdapter<Void,ServiceProviderBuilder>Exceptionprotected org.springframework.security.saml.context.SAMLContextProvider createDefaultSamlContextProvider()
Copyright © 2018. All rights reserved.