|
PicketLink Federation Core 2.1.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.picketlink.identity.federation.core.wstrust.writers.WSTrustResponseWriter
public class WSTrustResponseWriter
A Stax writer for WS-Trust response messages.
Constructor Summary | |
---|---|
WSTrustResponseWriter(OutputStream stream)
Creates a WSTrustResponseWriter instance that writes WS-Trust response messages to the specified
OutputStream . |
|
WSTrustResponseWriter(Result result)
Creates a WSTrustResponseWriter instance that writes WS-Trust response messages to the specified Result . |
|
WSTrustResponseWriter(XMLStreamWriter writer)
Creates a WSTrustResponseWriter instance that uses the specified XMLStreamWriter to write the WS-Trust
response messages. |
Method Summary | |
---|---|
void |
write(RequestSecurityTokenResponseCollection collection)
Writes the WS-Trust response message represented by the specified RequestSecurityTokenResponseCollection object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WSTrustResponseWriter(OutputStream stream) throws ProcessingException
Creates a WSTrustResponseWriter
instance that writes WS-Trust response messages to the specified
OutputStream
.
stream
- the where the response is to be written.
ProcessingException
- if an error occurs when creating the XMLStreamWriter
for the specified stream.public WSTrustResponseWriter(Result result) throws ProcessingException
Creates a WSTrustResponseWriter
instance that writes WS-Trust response messages to the specified Result
.
result
- the Result
object where the response is to be written.
ProcessingException
- if an error occurs when creating the XMLStreamWriter
for the specified result.public WSTrustResponseWriter(XMLStreamWriter writer)
Creates a WSTrustResponseWriter
instance that uses the specified XMLStreamWriter
to write the WS-Trust
response messages.
writer
- the XMLStreamWriter
that will be used to write the response messages.Method Detail |
---|
public void write(RequestSecurityTokenResponseCollection collection) throws ProcessingException
Writes the WS-Trust response message represented by the specified RequestSecurityTokenResponseCollection
object.
collection
- the object that contains the WS-Trust response message to be written.
ProcessingException
- if an error occurs while writing the response message.
|
PicketLink Federation Core 2.1.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |