Class SAMLConsentContext

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

public final class SAMLConsentContext extends BaseContext
Subcontext that carries information about a SAML Consent value.
  • Field Details

    • value

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

    • SAMLConsentContext

      public SAMLConsentContext()
  • Method Details

    • getConsent

      @Nullable @NotEmpty public String getConsent()
      Get the SAML Consent value in use.
      Returns:
      SAML Consent value in use
    • setConsent

      public void setConsent(@Nullable String consent)
      Set the SAML Consent value in use.
      Parameters:
      consent - SAML Consent value in use