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


Java StringToOpenSamlObjectTransformer类代码示例

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


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

示例1: SamlMessageSenderHandler

import uk.gov.ida.saml.deserializers.StringToOpenSamlObjectTransformer; //导入依赖的package包/类
@Inject
public SamlMessageSenderHandler(
        StringToOpenSamlObjectTransformer<Response> responseTransformer,
        StringToOpenSamlObjectTransformer<AuthnRequest> authnRequestTransformer,
        SamlMessageSignatureValidator samlMessageSignatureValidator,
        ExternalCommunicationEventLogger externalCommunicationEventLogger,
        ProtectiveMonitoringLogger protectiveMonitoringLogger,
        SessionProxy sessionProxy) {

    this.responseTransformer = responseTransformer;
    this.authnRequestTransformer = authnRequestTransformer;
    this.samlMessageSignatureValidator = samlMessageSignatureValidator;
    this.externalCommunicationEventLogger = externalCommunicationEventLogger;
    this.protectiveMonitoringLogger = protectiveMonitoringLogger;
    this.sessionProxy = sessionProxy;
}
 
开发者ID:alphagov,项目名称:verify-hub,代码行数:17,代码来源:SamlMessageSenderHandler.java

示例2: SamlMessageReceiverApi

import uk.gov.ida.saml.deserializers.StringToOpenSamlObjectTransformer; //导入依赖的package包/类
@Inject
public SamlMessageReceiverApi(RelayStateValidator relayStateValidator,
                              StringToOpenSamlObjectTransformer<AuthnRequest> stringSamlAuthnRequestTransformer,
                              StringToOpenSamlObjectTransformer<org.opensaml.saml.saml2.core.Response> stringSamlResponseTransformer,
                              @Named("authnRequestSignatureValidator") SamlMessageSignatureValidator authnRequestSignatureValidator,
                              @Named("authnResponseSignatureValidator") SamlMessageSignatureValidator authnResponseSignatureValidator,
                              @Named("eidasAuthnResponseSignatureValidator") Optional<SamlMessageSignatureValidator> eidasAuthnResponseSignatureValidator,
                              ProtectiveMonitoringLogger protectiveMonitoringLogger,
                              SessionProxy sessionProxy) {
    this.relayStateValidator = relayStateValidator;
    this.stringSamlAuthnRequestTransformer = stringSamlAuthnRequestTransformer;
    this.stringSamlResponseTransformer = stringSamlResponseTransformer;
    this.authnRequestSignatureValidator = authnRequestSignatureValidator;
    this.authnResponseSignatureValidator = authnResponseSignatureValidator;
    this.eidasAuthnResponseSignatureValidator = eidasAuthnResponseSignatureValidator;
    this.protectiveMonitoringLogger = protectiveMonitoringLogger;
    this.sessionProxy = sessionProxy;
}
 
开发者ID:alphagov,项目名称:verify-hub,代码行数:19,代码来源:SamlMessageReceiverApi.java

示例3: getCountryAuthnResponseTranslatorService

import uk.gov.ida.saml.deserializers.StringToOpenSamlObjectTransformer; //导入依赖的package包/类
@Provides
private CountryAuthnResponseTranslatorService getCountryAuthnResponseTranslatorService(StringToOpenSamlObjectTransformer<Response> stringToOpenSamlResponseTransformer,
                                                                                       ResponseFromCountryValidator responseFromCountryValidator,
                                                                                       IdpIdaStatusUnmarshaller idpIdaStatusUnmarshaller,
                                                                                       @Named("ResponseAssertionsFromCountryValidator") Optional<ResponseAssertionsFromCountryValidator> responseAssertionFromCountryValidator,
                                                                                       Optional<ValidateSamlResponseIssuedByIdpDestination> validateSamlResponseIssuedByIdpDestination,
                                                                                       @Named("AES256DecrypterWithGCM") AssertionDecrypter assertionDecrypter,
                                                                                       AssertionBlobEncrypter assertionBlobEncrypter,
                                                                                       @Named("CountrySamlResponseSignatureValidator") Optional<SamlResponseSignatureValidator> responseSignatureValidator,
                                                                                       @Named("CountrySamlAssertionsSignatureValidator") Optional<SamlAssertionsSignatureValidator> assertionSignatureValidator,
                                                                                       PassthroughAssertionUnmarshaller passthroughAssertionUnmarshaller) {
    if (!responseAssertionFromCountryValidator.isPresent() || !validateSamlResponseIssuedByIdpDestination.isPresent() || !responseSignatureValidator.isPresent() || !assertionSignatureValidator.isPresent()) {
        throw new InvalidConfigurationException("Eidas not configured correctly");
    }
    return new CountryAuthnResponseTranslatorService(stringToOpenSamlResponseTransformer,
            responseFromCountryValidator,
            idpIdaStatusUnmarshaller,
            responseAssertionFromCountryValidator.get(),
            validateSamlResponseIssuedByIdpDestination.get(),
            assertionDecrypter,
            assertionBlobEncrypter,
            responseSignatureValidator.get(),
            assertionSignatureValidator.get(),
            passthroughAssertionUnmarshaller);
}
 
开发者ID:alphagov,项目名称:verify-hub,代码行数:26,代码来源:SamlEngineModule.java

示例4: CountryAuthnResponseTranslatorService

import uk.gov.ida.saml.deserializers.StringToOpenSamlObjectTransformer; //导入依赖的package包/类
@Inject
public CountryAuthnResponseTranslatorService(StringToOpenSamlObjectTransformer<Response> stringToOpenSamlResponseTransformer,
                                             ResponseFromCountryValidator responseFromCountryValidator,
                                             IdpIdaStatusUnmarshaller idpIdaStatusUnmarshaller,
                                             ResponseAssertionsFromCountryValidator responseAssertionFromCountryValidator,
                                             ValidateSamlResponseIssuedByIdpDestination validateSamlResponseIssuedByIdpDestination,
                                             AssertionDecrypter assertionDecrypter,
                                             AssertionBlobEncrypter assertionBlobEncrypter,
                                             SamlResponseSignatureValidator responseSignatureValidator,
                                             SamlAssertionsSignatureValidator assertionSignatureValidator,
                                             PassthroughAssertionUnmarshaller passthroughAssertionUnmarshaller) {
    this.stringToOpenSamlResponseTransformer = stringToOpenSamlResponseTransformer;
    this.responseFromCountryValidator = responseFromCountryValidator;
    this.responseAssertionFromCountryValidator = responseAssertionFromCountryValidator;
    this.responseFromCountryDestinationValidator = validateSamlResponseIssuedByIdpDestination;
    this.statusUnmarshaller = idpIdaStatusUnmarshaller;
    this.assertionDecrypter = assertionDecrypter;
    this.assertionBlobEncrypter = assertionBlobEncrypter;
    this.responseSignatureValidator = responseSignatureValidator;
    this.assertionSignatureValidator = assertionSignatureValidator;
    this.passthroughAssertionUnmarshaller = passthroughAssertionUnmarshaller;
}
 
开发者ID:alphagov,项目名称:verify-hub,代码行数:23,代码来源:CountryAuthnResponseTranslatorService.java

示例5: getHubAsIdpMetadataHandler

import uk.gov.ida.saml.deserializers.StringToOpenSamlObjectTransformer; //导入依赖的package包/类
@Provides
@Singleton
public HubAsSpMetadataHandler getHubAsIdpMetadataHandler(
        @Named("VerifyMetadataResolver") MetadataResolver metadataResolver,
        SamlProxyConfiguration configuration,
        XmlObjectToBase64EncodedStringTransformer<EntityDescriptor> entityDescriptorElementTransformer,
        StringToOpenSamlObjectTransformer<EntityDescriptor> elementEntityDescriptorTransformer,
        @Named("HubEntityId") String hubEntityId) {
    return new HubAsSpMetadataHandler(
            metadataResolver,
            configuration,
            entityDescriptorElementTransformer,
            elementEntityDescriptorTransformer,
            hubEntityId);
}
 
开发者ID:alphagov,项目名称:verify-hub,代码行数:16,代码来源:SamlProxyModule.java

示例6: HubAsSpMetadataHandler

import uk.gov.ida.saml.deserializers.StringToOpenSamlObjectTransformer; //导入依赖的package包/类
@Inject
public HubAsSpMetadataHandler(
        MetadataResolver metadataResolver,
        SamlProxyConfiguration samlProxyConfiguration,
        XmlObjectToBase64EncodedStringTransformer<EntityDescriptor> entityDescriptorElementTransformer,
        StringToOpenSamlObjectTransformer<EntityDescriptor> elementEntityDescriptorTransformer,
        @Named("HubEntityId") String hubEntityId) {
    this.metadataResolver = metadataResolver;
    this.samlProxyConfiguration = samlProxyConfiguration;
    this.entityDescriptorElementTransformer = entityDescriptorElementTransformer;
    this.elementEntityDescriptorTransformer = elementEntityDescriptorTransformer;
    this.hubEntityId = hubEntityId;
}
 
开发者ID:alphagov,项目名称:verify-hub,代码行数:14,代码来源:HubAsSpMetadataHandler.java

示例7: MatchingServiceResponseTranslatorService

import uk.gov.ida.saml.deserializers.StringToOpenSamlObjectTransformer; //导入依赖的package包/类
@Inject
public MatchingServiceResponseTranslatorService(
        StringToOpenSamlObjectTransformer<Response> responseUnmarshaller,
        DecoratedSamlResponseToInboundResponseFromMatchingServiceTransformer responseToInboundResponseFromMatchingServiceTransformer) {

    this.responseUnmarshaller = responseUnmarshaller;
    this.responseToInboundResponseFromMatchingServiceTransformer = responseToInboundResponseFromMatchingServiceTransformer;
}
 
开发者ID:alphagov,项目名称:verify-hub,代码行数:9,代码来源:MatchingServiceResponseTranslatorService.java

示例8: RpAuthnRequestTranslatorService

import uk.gov.ida.saml.deserializers.StringToOpenSamlObjectTransformer; //导入依赖的package包/类
@Inject
public RpAuthnRequestTranslatorService(
    StringToOpenSamlObjectTransformer<AuthnRequest> stringToAuthnRequestTransformer,
    AuthnRequestToIdaRequestFromRelyingPartyTransformer authnRequestToIdaRequestFromRelyingPartyTransformer
) {
    this.stringToAuthnRequestTransformer = stringToAuthnRequestTransformer;
    this.authnRequestToIdaRequestFromRelyingPartyTransformer = authnRequestToIdaRequestFromRelyingPartyTransformer;
}
 
开发者ID:alphagov,项目名称:verify-hub,代码行数:9,代码来源:RpAuthnRequestTranslatorService.java

示例9: IdpAuthnResponseTranslatorService

import uk.gov.ida.saml.deserializers.StringToOpenSamlObjectTransformer; //导入依赖的package包/类
@Inject
public IdpAuthnResponseTranslatorService(StringToOpenSamlObjectTransformer<Response> stringToOpenSamlResponseTransformer,
                                         StringToOpenSamlObjectTransformer<Assertion> stringToAssertionTransformer,
                                             @Named("IdpSamlResponseTransformer") DecoratedSamlResponseToIdaResponseIssuedByIdpTransformer samlResponseToIdaResponseIssuedByIdpTransformer,
                                         InboundResponseFromIdpDataGenerator inboundResponseFromIdpDataGenerator,
                                         IdpAssertionMetricsCollector idpAssertionMetricsCollector) {
    this.stringToOpenSamlResponseTransformer = stringToOpenSamlResponseTransformer;
    this.stringToAssertionTransformer = stringToAssertionTransformer;
    this.samlResponseToIdaResponseIssuedByIdpTransformer = samlResponseToIdaResponseIssuedByIdpTransformer;
    this.inboundResponseFromIdpDataGenerator = inboundResponseFromIdpDataGenerator;
    this.idpAssertionMetricsCollector = idpAssertionMetricsCollector;
}
 
开发者ID:alphagov,项目名称:verify-hub,代码行数:13,代码来源:IdpAuthnResponseTranslatorService.java

示例10: MatchingServiceHealthcheckResponseTranslatorService

import uk.gov.ida.saml.deserializers.StringToOpenSamlObjectTransformer; //导入依赖的package包/类
@Inject
public MatchingServiceHealthcheckResponseTranslatorService(
        StringToOpenSamlObjectTransformer<Response> responseUnmarshaller, DecoratedSamlResponseToInboundHealthCheckResponseFromMatchingServiceTransformer samlResponseToInboundHealthCheckResponseFromMatchingServiceTransformer) {

    this.responseUnmarshaller = responseUnmarshaller;
    this.samlResponseToInboundHealthCheckResponseFromMatchingServiceTransformer = samlResponseToInboundHealthCheckResponseFromMatchingServiceTransformer;
}
 
开发者ID:alphagov,项目名称:verify-hub,代码行数:8,代码来源:MatchingServiceHealthcheckResponseTranslatorService.java

示例11: ResponseService

import uk.gov.ida.saml.deserializers.StringToOpenSamlObjectTransformer; //导入依赖的package包/类
public ResponseService(
    StringToOpenSamlObjectTransformer<Response> stringToOpenSamlObjectTransformer,
    AssertionDecrypter assertionDecrypter,
    AssertionTranslator assertionTranslator,
    SamlResponseSignatureValidator responseSignatureValidator,
    InstantValidator instantValidator
) {
    this.stringToOpenSamlObjectTransformer = stringToOpenSamlObjectTransformer;
    this.assertionDecrypter = assertionDecrypter;
    this.assertionTranslator = assertionTranslator;
    this.responseSignatureValidator = responseSignatureValidator;
    this.instantValidator = instantValidator;
}
 
开发者ID:alphagov,项目名称:verify-service-provider,代码行数:14,代码来源:ResponseService.java

示例12: createStringToResponseTransformer

import uk.gov.ida.saml.deserializers.StringToOpenSamlObjectTransformer; //导入依赖的package包/类
public static StringToOpenSamlObjectTransformer<Response> createStringToResponseTransformer() {
    return new StringToOpenSamlObjectTransformer<>(
        notNullSamlStringValidator,
        base64StringDecoder,
        responseSizeValidator,
        responseOpenSamlXMLObjectUnmarshaller
    );
}
 
开发者ID:alphagov,项目名称:verify-service-provider,代码行数:9,代码来源:ResponseFactory.java

示例13: getStringToResponseTransformer

import uk.gov.ida.saml.deserializers.StringToOpenSamlObjectTransformer; //导入依赖的package包/类
@Provides
@Singleton
private StringToOpenSamlObjectTransformer<Response> getStringToResponseTransformer(ResponseMaxSizeValidator responseMaxSizeValidator) {
    return new HubTransformersFactory().getStringToResponseTransformer(responseMaxSizeValidator);
}
 
开发者ID:alphagov,项目名称:verify-hub,代码行数:6,代码来源:SamlProxyModule.java

示例14: getStringToAuthnRequestTransformer

import uk.gov.ida.saml.deserializers.StringToOpenSamlObjectTransformer; //导入依赖的package包/类
@Provides
@Singleton
private StringToOpenSamlObjectTransformer<AuthnRequest> getStringToAuthnRequestTransformer() {
    return new HubTransformersFactory().getStringToAuthnRequestTransformer();
}
 
开发者ID:alphagov,项目名称:verify-hub,代码行数:6,代码来源:SamlProxyModule.java

示例15: elementEntityDescriptorTransformer

import uk.gov.ida.saml.deserializers.StringToOpenSamlObjectTransformer; //导入依赖的package包/类
@Provides
@Singleton
public StringToOpenSamlObjectTransformer<EntityDescriptor> elementEntityDescriptorTransformer() {
    return new CoreTransformersFactory().getStringtoOpenSamlObjectTransformer(input -> { });
}
 
开发者ID:alphagov,项目名称:verify-hub,代码行数:6,代码来源:SamlProxyModule.java


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