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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ArtifactTypebuildArtifact(byte[] artifact)Builds a populated artifact given the artifact's byte-array representation.ArtifactTypebuildArtifact(MessageContext requestContext, Assertion assertion)Builds an artifact, for the given assertion, destined for the outbound message recipient.
-
-
-
Method Detail
-
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
@Nullable ArtifactType buildArtifact(@Nonnull @NotEmpty byte[] artifact)
Builds a populated artifact given the artifact's byte-array representation.- Parameters:
artifact- the byte representation of the artifact- Returns:
- populated artifact
-
-