Specialized SOAPClient for SAML SOAP bindings.
More...
#include <saml/binding/SOAPClient.h>
|
| void | prepareTransport (xmltooling::SOAPTransport &transport) |
| | Override prepares transport by assigning an X509TrustEngine to it, if one is attached to the policy. More...
|
| |
Specialized SOAPClient for SAML SOAP bindings.
Creates a SOAP client instance with a particular SecurityPolicy.
- Parameters
-
| void opensaml::SOAPClient::forceTransportAuthentication |
( |
bool |
force = true | ) |
|
Controls whether to force transport/peer authentication via an X509TrustEngine.
Only makes sense if an X509TrustEngine is supplied by the SecurityPolicy.
- Parameters
-
| force | true iff the client should refuse to communicate without this protection |
| void opensaml::SOAPClient::prepareTransport |
( |
xmltooling::SOAPTransport & |
transport | ) |
|
|
protected |
Override prepares transport by assigning an X509TrustEngine to it, if one is attached to the policy.
- Parameters
-
| transport | reference to transport layer |
| soap11::Envelope* opensaml::SOAPClient::receive |
( |
| ) |
|
SAML-specific method uses metadata to determine the peer name and prepare the transport layer with peer credential information.
The SecurityPolicy is also reset, in case the policy is reused.
- Parameters
-
| env | SOAP envelope 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 |
Metadata-based CredentialCriteria for supplying credentials to TrustEngine.
| bool opensaml::SOAPClient::m_force |
|
protected |
Flag controlling whether transport/peer authn is mandatory.
| const saml2md::RoleDescriptor* opensaml::SOAPClient::m_peer |
|
protected |
Metadata-based peer identity.
Reference to security policy to apply.
The documentation for this class was generated from the following file: