public class SAML2ArtifactType0004Builder extends Object implements SAML2ArtifactBuilder<SAML2ArtifactType0004>
Constructor and Description |
---|
SAML2ArtifactType0004Builder() |
Modifier and Type | Method and Description |
---|---|
SAML2ArtifactType0004 |
buildArtifact(byte[] artifact)
Builds a populated artifact given the artifact's byte-array representation.
|
SAML2ArtifactType0004 |
buildArtifact(MessageContext<SAMLObject> requestContext)
Builds an artifact, for the given assertion, destined for the outbound message recipient.
|
protected Integer |
getArsEndpointIndex(MessageContext<SAMLObject> requestContext)
Gets the index of the source artifact resolution service.
|
protected SAMLArtifactContext |
getArtifactContext(MessageContext<SAMLObject> requestContext)
Get the artifact context.
|
protected String |
getSourceEntityId(MessageContext<SAMLObject> requestContext)
Get the local entityId.
|
@Nullable public SAML2ArtifactType0004 buildArtifact(@Nonnull @NotEmpty byte[] artifact)
buildArtifact
in interface SAML2ArtifactBuilder<SAML2ArtifactType0004>
artifact
- the byte representation of the artifact@Nullable public SAML2ArtifactType0004 buildArtifact(@Nonnull MessageContext<SAMLObject> requestContext)
buildArtifact
in interface SAML2ArtifactBuilder<SAML2ArtifactType0004>
requestContext
- request context@Nullable protected SAMLArtifactContext getArtifactContext(@Nonnull MessageContext<SAMLObject> requestContext)
requestContext
- the current message context@Nullable protected Integer getArsEndpointIndex(@Nonnull MessageContext<SAMLObject> requestContext)
requestContext
- current request context@Nullable protected String getSourceEntityId(@Nonnull MessageContext<SAMLObject> requestContext)
requestContext
- the message contextCopyright © 2016. All rights reserved.