Class SAMLProtocolContext

java.lang.Object
org.opensaml.messaging.context.BaseContext
org.opensaml.saml.common.messaging.context.SAMLProtocolContext
All Implemented Interfaces:
Iterable<BaseContext>

public final class SAMLProtocolContext extends BaseContext
Subcontext that carries information about the ongoing SAML protocol.
  • Field Details

    • protocol

      @Nullable @NotEmpty private String protocol
      The SAML protocol in use.
  • Constructor Details

    • SAMLProtocolContext

      public SAMLProtocolContext()
  • Method Details

    • getProtocol

      @Nullable @NotEmpty public String getProtocol()
      Gets the SAML protocol in use.
      Returns:
      SAML protocol in use, may be null
    • setProtocol

      public void setProtocol(@Nullable String samlProtocol)
      Sets the SAML protocol in use.
      Parameters:
      samlProtocol - SAML protocol in use