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.
◆ SOAPClient()
Creates a SOAP client instance with a particular SecurityPolicy.
- Parameters
-
◆ forceTransportAuthentication()
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 |
◆ getPolicy()
◆ prepareTransport()
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 |
◆ receive()
soap11::Envelope* opensaml::SOAPClient::receive |
( |
| ) |
|
◆ send()
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 |
◆ m_criteria
Metadata-based CredentialCriteria for supplying credentials to TrustEngine.
◆ m_force
bool opensaml::SOAPClient::m_force |
|
protected |
Flag controlling whether transport/peer authn is mandatory.
◆ m_peer
const saml2md::RoleDescriptor* opensaml::SOAPClient::m_peer |
|
protected |
Metadata-based peer identity.
◆ m_policy
Reference to security policy to apply.
The documentation for this class was generated from the following file: