Class DelegationContext
java.lang.Object
org.opensaml.messaging.context.BaseContext
net.shibboleth.idp.saml.saml2.profile.delegation.DelegationContext
- All Implemented Interfaces:
Iterable<BaseContext>
Context which holds data relevant to the issuance of a delegated
Assertion.-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensaml.messaging.context.BaseContext
BaseContext.ContextSetNoRemoveIteratorDecorator -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate DelegationRequestStatus of whether the relying party has requested issuance of a delegated assertion token.private booleanWhether issuance of a delegated assertion is active.private List<Credential>The relying party credentials which will be included in the assertion'sKeyInfoConfirmationDataType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the status of whether the relying party has requested issuance of a delegated assertion token.Get the relying party credentials which will be included in the assertion'sKeyInfoConfirmationDataType.booleanGet whether issuance of a delegated assertion is active.voidsetDelegationRequested(DelegationRequest requested) Set the status of whether the relying party has requested issuance of a delegated assertion token.voidsetIssuingDelegatedAssertion(boolean flag) Set whether issuance of a delegated assertion is active.voidsetSubjectConfirmationCredentials(List<Credential> credentials) Set the relying party credentials which will be included in the assertion'sKeyInfoConfirmationDataType.Methods inherited from class org.opensaml.messaging.context.BaseContext
addSubcontext, addSubcontext, clearSubcontexts, containsSubcontext, createSubcontext, getParent, getSubcontext, getSubcontext, getSubcontext, getSubcontext, iterator, removeSubcontext, removeSubcontext, setParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
issuingDelegatedAssertion
private boolean issuingDelegatedAssertionWhether issuance of a delegated assertion is active. -
delegationRequested
Status of whether the relying party has requested issuance of a delegated assertion token. -
subjectConfirmationCredentials
The relying party credentials which will be included in the assertion'sKeyInfoConfirmationDataType.
-
-
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
Get the status of whether the relying party has requested issuance of a delegated assertion token.- Returns:
- the delegation request status
-
setDelegationRequested
Set the status of whether the relying party has requested issuance of a delegated assertion token.- Parameters:
requested- the delegation request status
-
getSubjectConfirmationCredentials
Get the relying party credentials which will be included in the assertion'sKeyInfoConfirmationDataType.- 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'sKeyInfoConfirmationDataType.- Parameters:
credentials- the confirmation credentials
-