org.opensaml.saml2.binding.artifact
Interface SAML2ArtifactBuilder<ArtifactType extends AbstractSAML2Artifact>

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

public interface SAML2ArtifactBuilder<ArtifactType extends AbstractSAML2Artifact>

Builder of typed SAML 2 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<SAMLObject,SAMLObject,NameID> requestContext)
          Builds an artifact, for the given assertion, destined for the outbound message recipient.
 

Method Detail

buildArtifact

ArtifactType buildArtifact(SAMLMessageContext<SAMLObject,SAMLObject,NameID> requestContext)
Builds an artifact, for the given assertion, destined for the outbound message recipient.

Parameters:
requestContext - request context
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.