Class SAML1ArtifactRequestIssuerHandler

  • All Implemented Interfaces:
    net.shibboleth.utilities.java.support.component.Component, net.shibboleth.utilities.java.support.component.DestructableComponent, net.shibboleth.utilities.java.support.component.InitializableComponent, org.opensaml.messaging.handler.MessageHandler

    public class SAML1ArtifactRequestIssuerHandler
    extends org.opensaml.messaging.handler.AbstractMessageHandler
    SAML MessageHandler that addresses the SAML 1.x limitation that omitted an Issuer value from protocol messages, for the specific case of artifact resolution requests.

    The issuer/requester is deduced in this case by resolving an artifact from the request and assuming the issuer is the intended recipient of the artifact.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.opensaml.saml.common.binding.artifact.SAMLArtifactMap artifactMap
      Protocol value to add to context.
      private Logger log
      Class logger.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doInitialize()
      protected void doInvoke​(org.opensaml.messaging.context.MessageContext messageContext)
      void setArtifactMap​(org.opensaml.saml.common.binding.artifact.SAMLArtifactMap map)
      Set the artifact map to use.
      • Methods inherited from class org.opensaml.messaging.handler.AbstractMessageHandler

        doPostInvoke, doPostInvoke, doPreInvoke, getActivationCondition, getLogPrefix, invoke, setActivationCondition
      • Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent

        destroy, doDestroy, initialize, isDestroyed, isInitialized
      • Methods inherited from interface net.shibboleth.utilities.java.support.component.InitializableComponent

        initialize, isInitialized
    • Field Detail

      • log

        @Nonnull
        private final Logger log
        Class logger.
      • artifactMap

        @NonnullAfterInit
        private org.opensaml.saml.common.binding.artifact.SAMLArtifactMap artifactMap
        Protocol value to add to context.
    • Constructor Detail

      • SAML1ArtifactRequestIssuerHandler

        public SAML1ArtifactRequestIssuerHandler()
    • Method Detail

      • setArtifactMap

        public void setArtifactMap​(@Nonnull
                                   org.opensaml.saml.common.binding.artifact.SAMLArtifactMap map)
        Set the artifact map to use.
        Parameters:
        map - the artifact map
      • doInitialize

        protected void doInitialize()
                             throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
        Overrides:
        doInitialize in class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
        Throws:
        net.shibboleth.utilities.java.support.component.ComponentInitializationException
      • doInvoke

        protected void doInvoke​(@Nonnull
                                org.opensaml.messaging.context.MessageContext messageContext)
                         throws org.opensaml.messaging.handler.MessageHandlerException
        Specified by:
        doInvoke in class org.opensaml.messaging.handler.AbstractMessageHandler
        Throws:
        org.opensaml.messaging.handler.MessageHandlerException