Class IdaAuthnRequestToAuthnRequestTransformer<TInput extends uk.gov.ida.saml.core.domain.IdaSamlMessage>

  • All Implemented Interfaces:
    java.util.function.Function<TInput,​org.opensaml.saml.saml2.core.AuthnRequest>
    Direct Known Subclasses:
    IdaAuthnRequestFromHubToAuthnRequestTransformer

    public abstract class IdaAuthnRequestToAuthnRequestTransformer<TInput extends uk.gov.ida.saml.core.domain.IdaSamlMessage>
    extends java.lang.Object
    implements java.util.function.Function<TInput,​org.opensaml.saml.saml2.core.AuthnRequest>
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      org.opensaml.saml.saml2.core.AuthnRequest apply​(TInput originalRequestToIdp)  
      protected uk.gov.ida.saml.core.OpenSamlXmlObjectFactory getSamlObjectFactory()  
      protected abstract void supplementAuthnRequestWithDetails​(TInput originalRequestToIdp, org.opensaml.saml.saml2.core.AuthnRequest authnRequest)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Constructor Detail

      • IdaAuthnRequestToAuthnRequestTransformer

        @Inject
        protected IdaAuthnRequestToAuthnRequestTransformer​(uk.gov.ida.saml.core.OpenSamlXmlObjectFactory samlObjectFactory)
    • Method Detail

      • apply

        public org.opensaml.saml.saml2.core.AuthnRequest apply​(TInput originalRequestToIdp)
        Specified by:
        apply in interface java.util.function.Function<TInput extends uk.gov.ida.saml.core.domain.IdaSamlMessage,​org.opensaml.saml.saml2.core.AuthnRequest>
      • supplementAuthnRequestWithDetails

        protected abstract void supplementAuthnRequestWithDetails​(TInput originalRequestToIdp,
                                                                  org.opensaml.saml.saml2.core.AuthnRequest authnRequest)
      • getSamlObjectFactory

        protected uk.gov.ida.saml.core.OpenSamlXmlObjectFactory getSamlObjectFactory()