Client class for SAML 1.x SOAP binding.
More...
#include <saml/saml1/binding/SAML1SOAPClient.h>
Client class for SAML 1.x SOAP binding.
◆ SAML1SOAPClient()
opensaml::saml1p::SAML1SOAPClient::SAML1SOAPClient |
( |
SOAPClient & |
soaper, |
|
|
bool |
fatalSAMLErrors = true |
|
) |
| |
Constructor.
- Parameters
-
soaper | reference to SOAPClient object to use for call |
fatalSAMLErrors | true iff a non-successful SAML Status code should be fatal |
◆ handleError()
virtual bool opensaml::saml1p::SAML1SOAPClient::handleError |
( |
const Status & |
status | ) |
|
|
protectedvirtual |
Handling of SAML errors.
- Parameters
-
status | SAML Status received by client |
- Returns
- true iff the error should be treated as a fatal error
◆ receiveSAML()
virtual Response* opensaml::saml1p::SAML1SOAPClient::receiveSAML |
( |
| ) |
|
|
virtual |
Specialized method for receiving SAML 1.x responses.
The SOAP layer will be evaluated automatically, and the attached policy will be applied to the Response.
The caller is responsible for freeing the Response.
- Returns
- SAML 1.x Response, after SecurityPolicy has been applied
◆ sendSAML()
Specialized method for sending SAML 1.x requests.
The SOAP layer will be constructed automatically.
The request will be freed by the client object regardless of the outcome.
- Parameters
-
request | SAML request to send |
from | identity of sending application |
to | peer to send message to, expressed in metadata criteria terms |
endpoint | URL of endpoint to recieve message |
◆ m_fatal
bool opensaml::saml1p::SAML1SOAPClient::m_fatal |
|
protected |
Flag controlling default error handler.
◆ m_soaper
SOAPClient& opensaml::saml1p::SAML1SOAPClient::m_soaper |
|
protected |
The documentation for this class was generated from the following file: