public class SamlWriter extends Object
| Constructor and Description |
|---|
SamlWriter()
Creates a new instance of SamlWriter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
write(Message message,
OutputStream out,
Key privateKey)
Marshals the given AuthnRequest as an xml document and writes it to the given output stream.
|
public void write(Message message, OutputStream out, Key privateKey) throws SamlWriterException
message - AuthnRequest to marshal.privateKey - The private Key of this SP to sign the authentication request (may be null)out - OutputStream to write the xml document to.SamlWriterException - An error occurred while marshaling the request."Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"