Class SAML2AuthnRequestsSignedSecurityHandler

All Implemented Interfaces:
Component, DestructableComponent, InitializableComponent, MessageHandler

public class SAML2AuthnRequestsSignedSecurityHandler
extends AbstractMessageHandler
Message handler implementation that enforces the AuthnRequestsSigned flag of SAML 2 metadata element @{link SPSSODescriptor.
  • Field Details

    • log

      @Nonnull private final org.slf4j.Logger log
  • Constructor Details

    • SAML2AuthnRequestsSignedSecurityHandler

      public SAML2AuthnRequestsSignedSecurityHandler()
  • Method Details

    • doInvoke

      public void doInvoke​(@Nonnull MessageContext messageContext) throws MessageHandlerException
      Performs the handler logic.
      Specified by:
      doInvoke in class AbstractMessageHandler
      messageContext - the message context on which to invoke the handler
      MessageHandlerException - if there is an error invoking the handler on the message context
    • isMessageSigned

      protected boolean isMessageSigned​(@Nonnull MessageContext messageContext)
      Determine whether the inbound message is signed.
      messageContext - the message context being evaluated
      true if the inbound message is signed, otherwise false