public class WSTrustRequestWriter extends Object
RequestSecurityToken, write into an OutputStream| Constructor and Description |
|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
void |
write(RequestSecurityToken requestToken)
Write the
RequestSecurityToken into the OutputStream |
void |
write(RequestSecurityTokenCollection requestTokenCollection)
Write the
RequestSecurityTokenCollection into the OutputStream |
public WSTrustRequestWriter(OutputStream out) throws org.picketlink.common.exceptions.ProcessingException
Creates a WSTrustRequestWriter that writes RequestSecurityToken instances to the specified
OutputStream.
out - the stream where the request is to be written.org.picketlink.common.exceptions.ProcessingException - if an error occurs while processing the request.public WSTrustRequestWriter(Result result) throws org.picketlink.common.exceptions.ProcessingException
Creates a WSTrustRequestWriter that writes RequestSecurityToken instances to the specified Result
.
result - the Result where the request it to be written.org.picketlink.common.exceptions.ProcessingException - if an error occurs while processing the request.public WSTrustRequestWriter(XMLStreamWriter writer)
Creates a WSTrustRequestWriter that uses the specified XMLStreamWriter to write the request objects.
writer - the XMLStreamWriter to be used to write requests.public void write(RequestSecurityTokenCollection requestTokenCollection) throws org.picketlink.common.exceptions.ProcessingException
RequestSecurityTokenCollection into the OutputStreamrequestTokenCollection - out - org.picketlink.common.exceptions.ProcessingExceptionpublic void write(RequestSecurityToken requestToken) throws org.picketlink.common.exceptions.ProcessingException
RequestSecurityToken into the OutputStreamrequestToken - out - org.picketlink.common.exceptions.ProcessingExceptionCopyright © 2013 JBoss Inc.. All Rights Reserved.