本文整理了Java中org.springframework.security.saml.websso.WebSSOProfileOptions.setIncludeScoping()
方法的一些代码示例,展示了WebSSOProfileOptions.setIncludeScoping()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WebSSOProfileOptions.setIncludeScoping()
方法的具体详情如下:
包路径:org.springframework.security.saml.websso.WebSSOProfileOptions
类名称:WebSSOProfileOptions
方法名:setIncludeScoping
暂无
代码示例来源:origin: vdenotaris/spring-boot-security-saml-sample
@Bean
public WebSSOProfileOptions defaultWebSSOProfileOptions() {
WebSSOProfileOptions webSSOProfileOptions = new WebSSOProfileOptions();
webSSOProfileOptions.setIncludeScoping(false);
return webSSOProfileOptions;
}
代码示例来源:origin: spring-projects/spring-security-saml-dsl
private WebSSOProfileOptions webSSOProfileOptions() {
WebSSOProfileOptions webSSOProfileOptions = new WebSSOProfileOptions();
webSSOProfileOptions.setIncludeScoping(false);
return webSSOProfileOptions;
}
代码示例来源:origin: com.netflix.genie/genie-web
/**
* The Web SSO profile options.
*
* @return The profile options for web sso
* @see WebSSOProfileOptions
*/
@Bean
public WebSSOProfileOptions defaultWebSSOProfileOptions() {
final WebSSOProfileOptions webSSOProfileOptions = new WebSSOProfileOptions();
webSSOProfileOptions.setIncludeScoping(false);
return webSSOProfileOptions;
}
代码示例来源:origin: metatron-app/metatron-discovery
@Bean
public WebSSOProfileOptions defaultWebSSOProfileOptions() {
WebSSOProfileOptions webSSOProfileOptions = new WebSSOProfileOptions();
webSSOProfileOptions.setIncludeScoping(false);
webSSOProfileOptions.setBinding(org.opensaml.common.xml.SAMLConstants.SAML2_POST_BINDING_URI);
return webSSOProfileOptions;
}
代码示例来源:origin: OpenConext/Mujina
@Bean
public SAMLEntryPoint samlEntryPoint() {
WebSSOProfileOptions webSSOProfileOptions = new WebSSOProfileOptions();
webSSOProfileOptions.setIncludeScoping(false);
SAMLEntryPoint samlEntryPoint = new ConfigurableSAMLEntryPoint();
samlEntryPoint.setFilterProcessesUrl("login");
samlEntryPoint.setDefaultProfileOptions(webSSOProfileOptions);
return samlEntryPoint;
}
代码示例来源:origin: ulisesbocchio/spring-boot-security-saml-samples
@Bean
public SAMLEntryPoint samlEntryPoint() {
WebSSOProfileOptions options = new WebSSOProfileOptions();
options.setIncludeScoping(false);
SAMLEntryPoint entryPoint = new SAMLEntryPoint();
entryPoint.setDefaultProfileOptions(options);
entryPoint.setFilterProcessesUrl("/saml/login");
return entryPoint;
}
代码示例来源:origin: ulisesbocchio/spring-boot-security-saml
private WebSSOProfileOptions getProfileOptions() {
WebSSOProfileOptionProperties properties = config.getProfileOptions();
WebSSOProfileOptions options = new WebSSOProfileOptions();
options.setAllowCreate(properties.getAllowCreate());
options.setAllowedIDPs(properties.getAllowedIdps());
options.setAssertionConsumerIndex(properties.getAssertionConsumerIndex());
options.setAuthnContextComparison(properties.getAuthnContextComparison().getType());
options.setAuthnContexts(properties.getAuthnContexts());
options.setBinding(properties.getBinding());
options.setForceAuthN(properties.getForceAuthn());
options.setIncludeScoping(properties.getIncludeScoping());
options.setNameID(properties.getNameId());
options.setPassive(properties.getPassive());
options.setProviderName(properties.getProviderName());
options.setProxyCount(properties.getProxyCount());
options.setRelayState(properties.getRelayState());
return options;
}
内容来源于网络,如有侵权,请联系作者删除!