org.springframework.security.saml.websso.WebSSOProfileConsumerImpl Java Examples

The following examples show how to use org.springframework.security.saml.websso.WebSSOProfileConsumerImpl. 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
/**
 * SAML 2.0 WebSSO Assertion Consumer
 * 
 * @return
 */
@Bean
@Conditional(InsightsSAMLBeanInitializationCondition.class)
public WebSSOProfileConsumer webSSOprofileConsumer() {
	WebSSOProfileConsumerImpl webSSOProfileConsumerImpl = new WebSSOProfileConsumerImpl();
	webSSOProfileConsumerImpl.setResponseSkew(600);
	webSSOProfileConsumerImpl.setMaxAuthenticationAge(36000);
	return webSSOProfileConsumerImpl;
}
 
Example #2
Source File: SamlConfig.java    From blackduck-alert with Apache License 2.0 4 votes vote down vote up
@Bean
public WebSSOProfileConsumer webSSOprofileConsumer() {
    // If the machine running Alert has a different time than the SSO system the maximum difference allowed by default is 60 seconds
    // setResponseSkew(...) to change the skew time if needed
    return new WebSSOProfileConsumerImpl();
}
 
Example #3
Source File: WebSSOProfileConsumerConfigurer.java    From spring-boot-security-saml with MIT License 4 votes vote down vote up
protected WebSSOProfileConsumer createWebSSOProfileConsumer() {
    return new WebSSOProfileConsumerImpl();
}
 
Example #4
Source File: SAMLConfigurerProfileConsumerTests.java    From spring-security-saml-dsl with MIT License 4 votes vote down vote up
@Bean
public WebSSOProfileConsumerImpl webSSOProfileConsumer() {
	return mock(WebSSOProfileConsumerImpl.class);
}
 
Example #5
Source File: WebSecurityConfig.java    From spring-boot-security-saml-sample with Apache License 2.0 4 votes vote down vote up
@Bean
public WebSSOProfileConsumer webSSOprofileConsumer() {
    return new WebSSOProfileConsumerImpl();
}