本文整理汇总了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;
}
示例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;
}
示例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);
}
示例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;
}
示例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);
}
示例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;
}
示例7: MatchingServiceResponseTranslatorService
import uk.gov.ida.saml.deserializers.StringToOpenSamlObjectTransformer; //导入依赖的package包/类
@Inject
public MatchingServiceResponseTranslatorService(
StringToOpenSamlObjectTransformer<Response> responseUnmarshaller,
DecoratedSamlResponseToInboundResponseFromMatchingServiceTransformer responseToInboundResponseFromMatchingServiceTransformer) {
this.responseUnmarshaller = responseUnmarshaller;
this.responseToInboundResponseFromMatchingServiceTransformer = responseToInboundResponseFromMatchingServiceTransformer;
}
示例8: RpAuthnRequestTranslatorService
import uk.gov.ida.saml.deserializers.StringToOpenSamlObjectTransformer; //导入依赖的package包/类
@Inject
public RpAuthnRequestTranslatorService(
StringToOpenSamlObjectTransformer<AuthnRequest> stringToAuthnRequestTransformer,
AuthnRequestToIdaRequestFromRelyingPartyTransformer authnRequestToIdaRequestFromRelyingPartyTransformer
) {
this.stringToAuthnRequestTransformer = stringToAuthnRequestTransformer;
this.authnRequestToIdaRequestFromRelyingPartyTransformer = authnRequestToIdaRequestFromRelyingPartyTransformer;
}
示例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;
}
示例10: MatchingServiceHealthcheckResponseTranslatorService
import uk.gov.ida.saml.deserializers.StringToOpenSamlObjectTransformer; //导入依赖的package包/类
@Inject
public MatchingServiceHealthcheckResponseTranslatorService(
StringToOpenSamlObjectTransformer<Response> responseUnmarshaller, DecoratedSamlResponseToInboundHealthCheckResponseFromMatchingServiceTransformer samlResponseToInboundHealthCheckResponseFromMatchingServiceTransformer) {
this.responseUnmarshaller = responseUnmarshaller;
this.samlResponseToInboundHealthCheckResponseFromMatchingServiceTransformer = samlResponseToInboundHealthCheckResponseFromMatchingServiceTransformer;
}
示例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;
}
示例12: createStringToResponseTransformer
import uk.gov.ida.saml.deserializers.StringToOpenSamlObjectTransformer; //导入依赖的package包/类
public static StringToOpenSamlObjectTransformer<Response> createStringToResponseTransformer() {
return new StringToOpenSamlObjectTransformer<>(
notNullSamlStringValidator,
base64StringDecoder,
responseSizeValidator,
responseOpenSamlXMLObjectUnmarshaller
);
}
示例13: getStringToResponseTransformer
import uk.gov.ida.saml.deserializers.StringToOpenSamlObjectTransformer; //导入依赖的package包/类
@Provides
@Singleton
private StringToOpenSamlObjectTransformer<Response> getStringToResponseTransformer(ResponseMaxSizeValidator responseMaxSizeValidator) {
return new HubTransformersFactory().getStringToResponseTransformer(responseMaxSizeValidator);
}
示例14: getStringToAuthnRequestTransformer
import uk.gov.ida.saml.deserializers.StringToOpenSamlObjectTransformer; //导入依赖的package包/类
@Provides
@Singleton
private StringToOpenSamlObjectTransformer<AuthnRequest> getStringToAuthnRequestTransformer() {
return new HubTransformersFactory().getStringToAuthnRequestTransformer();
}
示例15: elementEntityDescriptorTransformer
import uk.gov.ida.saml.deserializers.StringToOpenSamlObjectTransformer; //导入依赖的package包/类
@Provides
@Singleton
public StringToOpenSamlObjectTransformer<EntityDescriptor> elementEntityDescriptorTransformer() {
return new CoreTransformersFactory().getStringtoOpenSamlObjectTransformer(input -> { });
}