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 delegatedAssertion.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opensaml.messaging.context.BaseContext
BaseContext.ContextSetNoRemoveIteratorDecorator
-
-
Field Summary
Fields Modifier and Type Field Description private DelegationRequestdelegationRequestedStatus of whether the relying party has requested issuance of a delegated assertion token.private booleanissuingDelegatedAssertionWhether issuance of a delegated assertion is active.private List<Credential>subjectConfirmationCredentialsThe relying party credentials which will be included in the assertion'sKeyInfoConfirmationDataType.
-
Constructor Summary
Constructors Constructor Description DelegationContext()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DelegationRequestgetDelegationRequested()Get the status of whether the relying party has requested issuance of a delegated assertion token.List<Credential>getSubjectConfirmationCredentials()Get the relying party credentials which will be included in the assertion'sKeyInfoConfirmationDataType.booleanisIssuingDelegatedAssertion()Get 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, setParent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
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.
-
subjectConfirmationCredentials
@Nullable @NonnullElements private List<Credential> subjectConfirmationCredentials
The relying party credentials which will be included in the assertion'sKeyInfoConfirmationDataType.
-
-
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
-
getSubjectConfirmationCredentials
@Nullable @NonnullElements public List<Credential> 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
-
-