org.opensaml.saml1.binding.artifact
Interface SAML1ArtifactBuilder<ArtifactType extends AbstractSAML1Artifact>

Type Parameters:
ArtifactType - type of artifact built by this builder
All Known Implementing Classes:
SAML1ArtifactType0001Builder, SAML1ArtifactType0002Builder

public interface SAML1ArtifactBuilder<ArtifactType extends AbstractSAML1Artifact>

Builder of typed SAML 1 artifacts. Builders must be thread safe and reusable.


Method Summary
 ArtifactType buildArtifact(byte[] artifact)
          Builds a populated artifact given the artifact's byte-array representation.
 ArtifactType buildArtifact(SAMLMessageContext<RequestAbstractType,Response,NameIdentifier> requestContext, Assertion assertion)
          Builds an artifact, for the given assertion, destined for the outbound message recipient.
 

Method Detail

buildArtifact

ArtifactType buildArtifact(SAMLMessageContext<RequestAbstractType,Response,NameIdentifier> requestContext,
                           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 artifcate

buildArtifact

ArtifactType buildArtifact(byte[] artifact)
Builds a populated artifact given the artifact's byte-array representation.

Parameters:
artifact - the byte representation of the artifact
Returns:
populated artifact


Copyright © 1999-2013. All Rights Reserved.