Class ECPOptionsContext

java.lang.Object
org.opensaml.messaging.context.BaseContext
net.shibboleth.sp.saml.saml2.context.ECPOptionsContext
All Implemented Interfaces:
Iterable<BaseContext>

public class ECPOptionsContext extends BaseContext
Tracks SAML ECP profile options.
  • Field Details

    • wantAuthnRequestSigned

      private boolean wantAuthnRequestSigned
      Indicates the client wants the SP to sign the reqyuest.
    • channelBinding

      private boolean channelBinding
      Indicates the client supports channel bindings.
    • holderOfKey

      private boolean holderOfKey
      Indicates the client supports holder of key confirmation.
    • delegation

      private boolean delegation
      Indicates the client supports delegation.
  • Constructor Details

    • ECPOptionsContext

      public ECPOptionsContext()
  • Method Details

    • isWantAuthnRequestsSigned

      public boolean isWantAuthnRequestsSigned()
      Checks for the existence of the WantAuthnRequestsSigned option in the client's request.
      Returns:
      true iff the option was set
    • setWantAuthnRequestsSigned

      @Nonnull public ECPOptionsContext setWantAuthnRequestsSigned(boolean flag)
      Sets the status of the WantAuthnRequestsSigned option in the client's request.
      Parameters:
      flag - flag to set
      Returns:
      this context
    • isChannelBinding

      public boolean isChannelBinding()
      Checks for the existance of the channel-binding option in the client's request, indicating support for the feature.
      Returns:
      true iff the option was set
    • setChannelBinding

      @Nonnull public ECPOptionsContext setChannelBinding(boolean flag)
      Sets the status of the channel-binding option in the client's request.
      Parameters:
      flag - flag to set
      Returns:
      this context
    • isHolderOfKey

      public boolean isHolderOfKey()
      Checks for the existance of the holder-of-key option in the client's request.
      Returns:
      true iff the option was set
    • setHolderOfKey

      @Nonnull public ECPOptionsContext setHolderOfKey(boolean flag)
      Sets the status of the holder-of-key option in the client's request.
      Parameters:
      flag - flag to set
      Returns:
      this context
    • isDelegation

      public boolean isDelegation()
      Checks for the existence of the delegation option in the client's request.
      Returns:
      true iff the option was set
    • setDelegation

      @Nonnull public ECPOptionsContext setDelegation(boolean flag)
      Sets the status of the delegation option in the client's request.
      Parameters:
      flag - flag to set
      Returns:
      this context