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) |
Message |
read(InputStream inputStream,
Key decryptionKey,
Key verificationKey,
boolean isSamlRequest)
Reads a response from the xml document contained in the given input stream.
|
public Message read(InputStream inputStream, Key decryptionKey, Key verificationKey, boolean isSamlRequest) 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 signaturesisSamlRequest - Whether we are handling a SamlRequest or a SamlResponse messageSamlReaderException - An error occurred while unmarshaling the Response.IOException - An error occurred while processing the InputStreampublic Message read(InputStream inputStream, Key decryptionKey, Key verificationKey) throws SamlReaderException, IOException
SamlReaderExceptionIOException"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"