public class SamlWriter
extends java.lang.Object
| Constructor and Description |
|---|
SamlWriter()
Creates a new instance of SamlWriter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
write(Message message,
java.io.OutputStream out,
java.security.Key privateKey)
Marshals the given AuthnRequest as an xml document and writes it to the given output stream.
|
public void write(Message message, java.io.OutputStream out, java.security.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 - 2018 Adobe Systems Incorporated. All Rights Reserved"