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

The following examples show how to use org.springframework.security.saml.websso.WebSSOProfileConsumerImpl. These examples are extracted from open source projects. 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
/**
 * 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 Project: blackduck-alert   Source File: SamlConfig.java    License: 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
protected WebSSOProfileConsumer createWebSSOProfileConsumer() {
    return new WebSSOProfileConsumerImpl();
}
 
Example 4
@Bean
public WebSSOProfileConsumerImpl webSSOProfileConsumer() {
	return mock(WebSSOProfileConsumerImpl.class);
}
 
Example 5
@Bean
public WebSSOProfileConsumer webSSOprofileConsumer() {
    return new WebSSOProfileConsumerImpl();
}