public class SamlReader extends Object
Constructor and Description |
---|
SamlReader()
Creates a new instance of XmlUnmarshaler.
|
Modifier and Type | Method and Description |
---|---|
Message |
read(InputStream inputStream,
Key decryptionKey,
Key verificationKey)
Reads a response from the xml document contained in the given input stream.
|
public Message read(InputStream inputStream, Key decryptionKey, Key verificationKey) throws SamlReaderException, IOException
inputStream
- InputStream containing the xml document to unmarshal.decryptionKey
- Private key used to decrypt encrypted assertions (dont decrypt if key is null)verificationKey
- The public key of the IdP to verify the XML signaturesSamlReaderException
- An error occurred while unmarshaling the Response.IOException
- An error occurred while processing the InputStream
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"