Interface SAML1ArtifactBuilder<ArtifactType extends SAML1Artifact>
- Type Parameters:
ArtifactType- type of artifact built by this builder
- All Known Implementing Classes:
SAML1ArtifactType0001Builder,SAML1ArtifactType0002Builder
public interface SAML1ArtifactBuilder<ArtifactType extends SAML1Artifact>
Builder of typed SAML 1 artifacts.
Builders must be thread safe and reusable.
-
Method Summary
Modifier and TypeMethodDescriptionbuildArtifact(byte[] artifact) Builds a populated artifact given the artifact's byte-array representation.buildArtifact(MessageContext requestContext, Assertion assertion) Builds an artifact, for the given assertion, destined for the outbound message recipient.
-
Method Details
-
buildArtifact
@Nullable ArtifactType buildArtifact(@Nonnull MessageContext requestContext, @Nonnull Assertion assertion) Builds an artifact, for the given assertion, destined for the outbound message recipient.- Parameters:
requestContext- request contextassertion- assertion to build artifact for- Returns:
- constructed artifact
-
buildArtifact
Builds a populated artifact given the artifact's byte-array representation.- Parameters:
artifact- the byte representation of the artifact- Returns:
- populated artifact
-