Class DelegationContext

    • Field Detail

      • 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.
    • Constructor Detail

      • DelegationContext

        public DelegationContext()
        Constructor.
    • Method Detail

      • 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
      • 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