org.opensaml.saml1.binding.artifact
Class SAML1ArtifactType0001Builder

java.lang.Object
  extended by org.opensaml.saml1.binding.artifact.SAML1ArtifactType0001Builder
All Implemented Interfaces:
SAML1ArtifactBuilder<SAML1ArtifactType0001>

public class SAML1ArtifactType0001Builder
extends Object
implements SAML1ArtifactBuilder<SAML1ArtifactType0001>

Builder of SAML 1, type 0x001, artifacts.


Constructor Summary
SAML1ArtifactType0001Builder()
           
 
Method Summary
 SAML1ArtifactType0001 buildArtifact(byte[] artifact)
          Builds a populated artifact given the artifact's byte-array representation.
 SAML1ArtifactType0001 buildArtifact(SAMLMessageContext<RequestAbstractType,Response,NameIdentifier> requestContext, Assertion assertion)
          Builds an artifact, for the given assertion, destined for the outbound message recipient.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAML1ArtifactType0001Builder

public SAML1ArtifactType0001Builder()
Method Detail

buildArtifact

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

Specified by:
buildArtifact in interface SAML1ArtifactBuilder<SAML1ArtifactType0001>
Parameters:
artifact - the byte representation of the artifact
Returns:
populated artifact

buildArtifact

public SAML1ArtifactType0001 buildArtifact(SAMLMessageContext<RequestAbstractType,Response,NameIdentifier> requestContext,
                                           Assertion assertion)
Builds an artifact, for the given assertion, destined for the outbound message recipient.

Specified by:
buildArtifact in interface SAML1ArtifactBuilder<SAML1ArtifactType0001>
Parameters:
requestContext - request context
assertion - assertion to build artifact for
Returns:
constructed artifcate


Copyright © 2006-2010 Internet2. All Rights Reserved.