Class DelegationContext

java.lang.Object
org.opensaml.messaging.context.BaseContext
net.shibboleth.idp.saml.saml2.profile.delegation.DelegationContext
All Implemented Interfaces:
Iterable<BaseContext>

public class DelegationContext extends BaseContext
Context which holds data relevant to the issuance of a delegated Assertion.
  • Field Details

    • issuingDelegatedAssertion

      private boolean issuingDelegatedAssertion
      Whether issuance of a delegated assertion is active.
    • delegationRequested

      @Nonnull private DelegationRequest delegationRequested
      Status of whether the relying party has requested issuance of a delegated assertion token.
    • subjectConfirmationCredentials

      @Nullable @NonnullElements private List<Credential> subjectConfirmationCredentials
      The relying party credentials which will be included in the assertion's KeyInfoConfirmationDataType.
  • Constructor Details

    • DelegationContext

      public DelegationContext()
      Constructor.
  • Method Details

    • isIssuingDelegatedAssertion

      public boolean isIssuingDelegatedAssertion()
      Get whether issuance of a delegated assertion is active.
      Returns:
      true if issuing a delegated assertion, false otherwise
    • setIssuingDelegatedAssertion

      public void setIssuingDelegatedAssertion(boolean flag)
      Set whether issuance of a delegated assertion is active.
      Parameters:
      flag - true is issuing a delegated assertion false otherwise
    • getDelegationRequested

      @Nonnull public DelegationRequest getDelegationRequested()
      Get the status of whether the relying party has requested issuance of a delegated assertion token.
      Returns:
      the delegation request status
    • setDelegationRequested

      public void setDelegationRequested(@Nonnull DelegationRequest requested)
      Set the status of whether the relying party has requested issuance of a delegated assertion token.
      Parameters:
      requested - the delegation request status
    • getSubjectConfirmationCredentials

      @Nullable @NonnullElements public List<Credential> getSubjectConfirmationCredentials()
      Get the relying party credentials which will be included in the assertion's KeyInfoConfirmationDataType.
      Returns:
      the confirmation credentials, or null
    • setSubjectConfirmationCredentials

      public void setSubjectConfirmationCredentials(@Nullable @NonnullElements List<Credential> credentials)
      Set the relying party credentials which will be included in the assertion's KeyInfoConfirmationDataType.
      Parameters:
      credentials - the confirmation credentials