Interface SAML1ArtifactBuilder<ArtifactType extends SAML1Artifact>

    • Method Detail

      • buildArtifact

        @Nullable
        ArtifactType buildArtifact​(@Nonnull
                                   org.opensaml.messaging.context.MessageContext requestContext,
                                   @Nonnull
                                   Assertion assertion)
        Builds an artifact, for the given assertion, destined for the outbound message recipient.
        Parameters:
        requestContext - request context
        assertion - 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