org.opensaml.saml2.binding.artifact
Class SAML2ArtifactType0004Builder

java.lang.Object
  extended by org.opensaml.saml2.binding.artifact.SAML2ArtifactType0004Builder
All Implemented Interfaces:
SAML2ArtifactBuilder<SAML2ArtifactType0004>

public class SAML2ArtifactType0004Builder
extends Object
implements SAML2ArtifactBuilder<SAML2ArtifactType0004>

SAML 2, type 0x0004, artifact builder.


Field Summary
private  org.slf4j.Logger log
          Class logger.
 
Constructor Summary
SAML2ArtifactType0004Builder()
           
 
Method Summary
 SAML2ArtifactType0004 buildArtifact(byte[] artifact)
          Builds a populated artifact given the artifact's byte-array representation.
 SAML2ArtifactType0004 buildArtifact(SAMLMessageContext<SAMLObject,SAMLObject,NameID> requestContext)
          Builds an artifact, for the given assertion, destined for the outbound message recipient.
protected  Endpoint getAcsEndpoint(SAMLMessageContext<SAMLObject,SAMLObject,NameID> requestContext)
          Gets the source location used to for the artifacts created by this encoder.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private final org.slf4j.Logger log
Class logger.

Constructor Detail

SAML2ArtifactType0004Builder

public SAML2ArtifactType0004Builder()
Method Detail

buildArtifact

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

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

buildArtifact

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

Specified by:
buildArtifact in interface SAML2ArtifactBuilder<SAML2ArtifactType0004>
Parameters:
requestContext - request context
Returns:
constructed artifcate

getAcsEndpoint

protected Endpoint getAcsEndpoint(SAMLMessageContext<SAMLObject,SAMLObject,NameID> requestContext)
Gets the source location used to for the artifacts created by this encoder.

Parameters:
requestContext - current request context
Returns:
source location used to for the artifacts created by this encoder


Copyright © 1999-2012. All Rights Reserved.