org.opensaml.saml1.binding.artifact
Class SAML1ArtifactType0002Builder

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

public class SAML1ArtifactType0002Builder
extends Object
implements SAML1ArtifactBuilder<SAML1ArtifactType0002>

SAML 1, type 0x0002, artifact builder.


Field Summary
private  org.slf4j.Logger log
          Class logger.
 
Constructor Summary
SAML1ArtifactType0002Builder()
           
 
Method Summary
 SAML1ArtifactType0002 buildArtifact(byte[] artifact)
          Builds a populated artifact given the artifact's byte-array representation.
 SAML1ArtifactType0002 buildArtifact(SAMLMessageContext<RequestAbstractType,Response,NameIdentifier> requestContext, Assertion assertion)
          Builds an artifact, for the given assertion, destined for the outbound message recipient.
protected  String getSourceLocation(SAMLMessageContext<RequestAbstractType,Response,NameIdentifier> 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

SAML1ArtifactType0002Builder

public SAML1ArtifactType0002Builder()
Method Detail

buildArtifact

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

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

buildArtifact

public SAML1ArtifactType0002 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<SAML1ArtifactType0002>
Parameters:
requestContext - request context
assertion - assertion to build artifact for
Returns:
constructed artifcate

getSourceLocation

protected String getSourceLocation(SAMLMessageContext<RequestAbstractType,Response,NameIdentifier> 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-2013. All Rights Reserved.