org.springframework.security.saml.context.SAMLContextProviderLB Java Examples

The following examples show how to use org.springframework.security.saml.context.SAMLContextProviderLB. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: InsightsSecurityConfigurationAdapterSAML.java    From Insights with Apache License 2.0 5 votes vote down vote up
/**
 * Used to create custome SAMLContextProviderLB
 * 
 * @return
 */
@Bean
@Conditional(InsightsSAMLBeanInitializationCondition.class)
public SAMLContextProviderLB contextProvider() {
	SAMLContextProviderLB samlContextProviderLB = new SAMLContextProviderLB();
	samlContextProviderLB.setScheme(AuthenticationUtils.SMAL_SCHEMA);
	samlContextProviderLB.setServerName(AuthenticationUtils.getHost(null));
	samlContextProviderLB.setContextPath(AuthenticationUtils.APPLICATION_CONTEXT_NAME);
	samlContextProviderLB.setServerPort(AuthenticationUtils.DEFAULT_PORT);
	samlContextProviderLB.setIncludeServerPortInRequestURL(Boolean.FALSE);
	LOG.debug(" samlContextProviderLB ==== {} ", samlContextProviderLB);
	return samlContextProviderLB;
}
 
Example #2
Source File: SAMLContextProviderLBConfigurer.java    From spring-boot-security-saml with MIT License 4 votes vote down vote up
public SAMLContextProviderLBConfigurer(SAMLContextProviderLB samlContextProvider) {
    this.samlContextProvider = samlContextProvider;
}
 
Example #3
Source File: SAMLContextProviderLBConfigurer.java    From spring-boot-security-saml with MIT License 4 votes vote down vote up
@VisibleForTesting
protected SAMLContextProviderLB createDefaultSamlContextProviderLB() {
    return new SAMLContextProviderLB();
}