PicketLink Federation Core 2.1.6.Final-redhat-2

org.picketlink.identity.federation.core.wstrust.writers
Class WSTrustRequestWriter

java.lang.Object
  extended by org.picketlink.identity.federation.core.wstrust.writers.WSTrustRequestWriter

public class WSTrustRequestWriter
extends Object

Given a RequestSecurityToken, write into an OutputStream

Since:
Oct 19, 2010
Author:
Anil.Saldhana@redhat.com

Constructor Summary
WSTrustRequestWriter(OutputStream out)
           Creates a WSTrustRequestWriter that writes RequestSecurityToken instances to the specified OutputStream.
WSTrustRequestWriter(Result result)
           Creates a WSTrustRequestWriter that writes RequestSecurityToken instances to the specified Result .
WSTrustRequestWriter(XMLStreamWriter writer)
           Creates a WSTrustRequestWriter that uses the specified XMLStreamWriter to write the request objects.
 
Method Summary
 void write(RequestSecurityToken requestToken)
          Write the RequestSecurityToken into the OutputStream
 void write(RequestSecurityTokenCollection requestTokenCollection)
          Write the RequestSecurityTokenCollection into the OutputStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSTrustRequestWriter

public WSTrustRequestWriter(OutputStream out)
                     throws ProcessingException

Creates a WSTrustRequestWriter that writes RequestSecurityToken instances to the specified OutputStream.

Parameters:
out - the stream where the request is to be written.
Throws:
ProcessingException - if an error occurs while processing the request.

WSTrustRequestWriter

public WSTrustRequestWriter(Result result)
                     throws ProcessingException

Creates a WSTrustRequestWriter that writes RequestSecurityToken instances to the specified Result .

Parameters:
result - the Result where the request it to be written.
Throws:
ProcessingException - if an error occurs while processing the request.

WSTrustRequestWriter

public WSTrustRequestWriter(XMLStreamWriter writer)

Creates a WSTrustRequestWriter that uses the specified XMLStreamWriter to write the request objects.

Parameters:
writer - the XMLStreamWriter to be used to write requests.
Method Detail

write

public void write(RequestSecurityTokenCollection requestTokenCollection)
           throws ProcessingException
Write the RequestSecurityTokenCollection into the OutputStream

Parameters:
requestTokenCollection -
out -
Throws:
ProcessingException

write

public void write(RequestSecurityToken requestToken)
           throws ProcessingException
Write the RequestSecurityToken into the OutputStream

Parameters:
requestToken -
out -
Throws:
ProcessingException

PicketLink Federation Core 2.1.6.Final-redhat-2

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