Class SAMLArtifactContext
java.lang.Object
org.opensaml.messaging.context.BaseContext
org.opensaml.saml.common.messaging.context.SAMLArtifactContext
- All Implemented Interfaces:
Iterable<BaseContext>
Context that carries information about SAML artifact usage.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensaml.messaging.context.BaseContext
BaseContext.ContextSetNoRemoveIteratorDecorator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Gets the artifact type.Get the artifact resolution service endpoint index.Get the artifact resolution service endpoint URL.Get the artifact source entityID.void
setArtifactType
(byte[] type) Sets the artifact type.void
Set the source artifact resolution service endpoint index.void
Set the artifact resolution service endpoint URL.void
setSourceEntityId
(String entityId) Set the artifact source entityID.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 Details
-
artifactType
@Nullable private byte[] artifactTypeThe artifact type. -
sourceEntityId
The artifact source entityID. -
sourceArtifactResolutionServiceEndpointUrl
The artifact resolution endpoint URL. -
sourceArtifactResolutionServiceEndpointIndex
The artifact resolution endpoint index.
-
-
Constructor Details
-
SAMLArtifactContext
public SAMLArtifactContext()
-
-
Method Details
-
getArtifactType
@Nullable public byte[] getArtifactType()Gets the artifact type.- Returns:
- artifact type, may be null
-
setArtifactType
public void setArtifactType(@Nullable byte[] type) Sets the artifact type.- Parameters:
type
- the new artifact type
-
getSourceEntityId
Get the artifact source entityID.- Returns:
- the source entityID, may be null
-
setSourceEntityId
Set the artifact source entityID.- Parameters:
entityId
- the new source entityID
-
getSourceArtifactResolutionServiceEndpointURL
Get the artifact resolution service endpoint URL.- Returns:
- the URL
-
setSourceArtifactResolutionServiceEndpointURL
Set the artifact resolution service endpoint URL.- Parameters:
url
- the new URL
-
getSourceArtifactResolutionServiceEndpointIndex
Get the artifact resolution service endpoint index.- Returns:
- the index
-
setSourceArtifactResolutionServiceEndpointIndex
Set the source artifact resolution service endpoint index.- Parameters:
index
- the new index
-