PicketLink Federation Core 2.1.6.Final-redhat-2

org.picketlink.identity.federation.core.saml.v2.writers
Class SAMLResponseWriter

java.lang.Object
  extended by org.picketlink.identity.federation.core.saml.v2.writers.BaseWriter
      extended by org.picketlink.identity.federation.core.saml.v2.writers.SAMLResponseWriter

public class SAMLResponseWriter
extends BaseWriter

Write a SAML Response to stream

Since:
Nov 2, 2010
Author:
Anil.Saldhana@redhat.com

Field Summary
 
Fields inherited from class org.picketlink.identity.federation.core.saml.v2.writers.BaseWriter
ASSERTION_PREFIX, logger, PROTOCOL_PREFIX, writer, XACML_SAML_PREFIX, XACML_SAML_PROTO_PREFIX, XSI_PREFIX
 
Constructor Summary
SAMLResponseWriter(XMLStreamWriter writer)
           
 
Method Summary
 void write(ArtifactResponseType response)
           
 void write(ResponseType response)
          Write a ResponseType to stream
 void write(StatusCodeType statusCodeType)
          Write a StatusCodeType to stream
 void write(StatusDetailType statusDetailType)
          Write a StatusDetailType to stream
 void write(StatusResponseType response, QName qname)
          Write a StatusResponseType
 void write(StatusType status)
          Write a StatusType to stream
 
Methods inherited from class org.picketlink.identity.federation.core.saml.v2.writers.BaseWriter
write, write, write, writeAttributeTypeWithoutRootTag, writeLocalizedNameType, writeStringAttributeValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAMLResponseWriter

public SAMLResponseWriter(XMLStreamWriter writer)
Method Detail

write

public void write(ResponseType response)
           throws ProcessingException
Write a ResponseType to stream

Parameters:
response -
out -
Throws:
ProcessingException

write

public void write(ArtifactResponseType response)
           throws ProcessingException
Throws:
ProcessingException

write

public void write(StatusResponseType response,
                  QName qname)
           throws ProcessingException
Write a StatusResponseType

Parameters:
response -
qname - QName of the starting element
out -
Throws:
ProcessingException

write

public void write(StatusType status)
           throws ProcessingException
Write a StatusType to stream

Parameters:
status -
out -
Throws:
ProcessingException

write

public void write(StatusCodeType statusCodeType)
           throws ProcessingException
Write a StatusCodeType to stream

Parameters:
statusCodeType -
out -
Throws:
ProcessingException

write

public void write(StatusDetailType statusDetailType)
           throws ProcessingException
Write a StatusDetailType to stream

Parameters:
statusDetailType -
out -
Throws:
ProcessingException

PicketLink Federation Core 2.1.6.Final-redhat-2

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.