opensaml::saml2p::SAML2SOAPClient Class Reference

Specialized SOAPClient for SAML 2.0 SOAP binding. More...

#include <saml/saml2/binding/SAML2SOAPClient.h>

List of all members.

Public Member Functions

 SAML2SOAPClient (SOAPClient &soaper, bool fatalSAMLErrors=true)
 Constructor.
virtual void sendSAML (RequestAbstractType *request, const char *from, saml2md::MetadataCredentialCriteria &to, const char *endpoint)
 Specialized method for sending SAML 2.0 requests.
virtual StatusResponseType * receiveSAML ()
 Specialized method for receiving SAML 2.0 responses.

Protected Member Functions

virtual bool handleError (const Status &status)
 Handling of SAML errors.

Protected Attributes

SOAPClientm_soaper
 SOAP client object.
bool m_fatal
 Flag controlling default error handler.


Detailed Description

Specialized SOAPClient for SAML 2.0 SOAP binding.

Constructor & Destructor Documentation

opensaml::saml2p::SAML2SOAPClient::SAML2SOAPClient ( 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


Member Function Documentation

virtual void opensaml::saml2p::SAML2SOAPClient::sendSAML ( RequestAbstractType *  request,
const char *  from,
saml2md::MetadataCredentialCriteria to,
const char *  endpoint 
) [virtual]

Specialized method for sending SAML 2.0 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
to peer to send message to, expressed in metadata criteria terms
from identity of sending application
endpoint URL of endpoint to recieve message

virtual StatusResponseType* opensaml::saml2p::SAML2SOAPClient::receiveSAML (  )  [virtual]

Specialized method for receiving SAML 2.0 responses.

The SOAP layer will be evaluated automatically, and exp222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222