当前位置: 首页>>代码示例>>Java>>正文


Java ParserPoolHolder类代码示例

本文整理汇总了Java中org.springframework.security.saml.parser.ParserPoolHolder的典型用法代码示例。如果您正苦于以下问题:Java ParserPoolHolder类的具体用法?Java ParserPoolHolder怎么用?Java ParserPoolHolder使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


ParserPoolHolder类属于org.springframework.security.saml.parser包,在下文中一共展示了ParserPoolHolder类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: afterPropertiesSet

import org.springframework.security.saml.parser.ParserPoolHolder; //导入依赖的package包/类
@Override
public void afterPropertiesSet() {
    //All existing beans are thrown as shared objects to the ServiceProviderSecurityBuilder, which will wire all
    //beans/objects related to spring security SAML.
    serviceProviderBuilder.setSharedObject(ParserPool.class, ParserPoolHolder.getPool());
    serviceProviderBuilder.setSharedObject(WebSSOProfileConsumerImpl.class, (WebSSOProfileConsumerImpl) webSSOProfileConsumer);
    serviceProviderBuilder.setSharedObject(WebSSOProfileConsumerHoKImpl.class, hokWebSSOProfileConsumer);
    serviceProviderBuilder.setSharedObject(ServiceProviderEndpoints.class, new ServiceProviderEndpoints());
    serviceProviderBuilder.setSharedObject(ResourceLoader.class, resourceLoader);
    serviceProviderBuilder.setSharedObject(SAMLSSOProperties.class, sAMLSsoProperties);
    serviceProviderBuilder.setSharedObject(ExtendedMetadata.class, extendedMetadata);
    serviceProviderBuilder.setSharedObject(LocalExtendedMetadata.class, localExtendedMetadata);
    serviceProviderBuilder.setSharedObject(SAMLAuthenticationProvider.class, samlAuthenticationProvider);
    serviceProviderBuilder.setSharedObject(SAMLContextProvider.class, samlContextProvider);
    serviceProviderBuilder.setSharedObject(KeyManager.class, keyManager);
    serviceProviderBuilder.setSharedObject(MetadataManager.class, metadataManager);
    serviceProviderBuilder.setSharedObject(MetadataGenerator.class, metadataGenerator);
    serviceProviderBuilder.setSharedObject(SAMLProcessor.class, samlProcessor);
    serviceProviderBuilder.setSharedObject(WebSSOProfile.class, webSSOProfile);
    serviceProviderBuilder.setSharedObject(WebSSOProfileECPImpl.class, ecpProfile);
    serviceProviderBuilder.setSharedObject(WebSSOProfileHoKImpl.class, hokWebSSOProfile);
    serviceProviderBuilder.setSharedObject(SingleLogoutProfile.class, sloProfile);
    serviceProviderBuilder.setSharedObject(WebSSOProfileConsumer.class, webSSOProfileConsumer);
    serviceProviderBuilder.setSharedObject(WebSSOProfileConsumerHoKImpl.class, hokWebSSOProfileConsumer);
    serviceProviderBuilder.setSharedObject(SAMLLogger.class, samlLogger);
}
 
开发者ID:ulisesbocchio,项目名称:spring-boot-security-saml,代码行数:27,代码来源:SAMLServiceProviderSecurityConfiguration.java

示例2: parserPoolHolder

import org.springframework.security.saml.parser.ParserPoolHolder; //导入依赖的package包/类
@Bean(name = "parserPoolHolder")
public ParserPoolHolder parserPoolHolder() {
    return new ParserPoolHolder();
}
 
开发者ID:jadekler,项目名称:git-java-okta-saml-example,代码行数:5,代码来源:SAMLConfiguration.java

示例3: parserPoolHolder

import org.springframework.security.saml.parser.ParserPoolHolder; //导入依赖的package包/类
@Bean
@ConditionalOnMissingBean
public ParserPoolHolder parserPoolHolder() {
    return new ParserPoolHolder();
}
 
开发者ID:ulisesbocchio,项目名称:spring-boot-security-saml,代码行数:6,代码来源:SAMLServiceProviderSecurityConfiguration.java

示例4: parserPoolHolder

import org.springframework.security.saml.parser.ParserPoolHolder; //导入依赖的package包/类
@Bean
public ParserPoolHolder parserPoolHolder() {
    return new ParserPoolHolder();
}
 
开发者ID:choonchernlim,项目名称:spring-security-adfs-saml2,代码行数:5,代码来源:SAMLWebSecurityConfigurerAdapter.java


注:本文中的org.springframework.security.saml.parser.ParserPoolHolder类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。