Arc::DelegationConsumerSOAP Class Reference

#include <DelegationInterface.h>

Inheritance diagram for Arc::DelegationConsumerSOAP:
Arc::DelegationConsumer

Public Member Functions

 DelegationConsumerSOAP (void)
 DelegationConsumerSOAP (const std::string &content)
bool DelegateCredentialsInit (const std::string &id, const SOAPEnvelope &in, SOAPEnvelope &out)
bool UpdateCredentials (std::string &credentials, const SOAPEnvelope &in, SOAPEnvelope &out)
bool UpdateCredentials (std::string &credentials, std::string &identity, const SOAPEnvelope &in, SOAPEnvelope &out)
bool DelegatedToken (std::string &credentials, XMLNode token)

Detailed Description

This class extends DelegationConsumer to support SOAP message exchange. Implements WS interface http://www.nordugrid.org/schemas/delegation described in delegation.wsdl.


Constructor & Destructor Documentation

Arc::DelegationConsumerSOAP::DelegationConsumerSOAP ( void   ) 

Creates object with new private key

Arc::DelegationConsumerSOAP::DelegationConsumerSOAP ( const std::string &  content  ) 

Creates object with specified private key


Member Function Documentation

bool Arc::DelegationConsumerSOAP::DelegateCredentialsInit ( const std::string &  id,
const SOAPEnvelope &  in,
SOAPEnvelope &  out 
)

Process SOAP message which starts delegation. Generated message in 'out' is meant to be sent back to DelagationProviderSOAP. Argument 'id' contains identifier of procedure and is used only to produce SOAP message.

bool Arc::DelegationConsumerSOAP::DelegatedToken ( std::string &  credentials,
XMLNode  token 
)

Similar to UpdateCredentials but takes only DelegatedToken XML element

bool Arc::DelegationConsumerSOAP::UpdateCredentials ( std::string &  credentials,
std::string &  identity,
const SOAPEnvelope &  in,
SOAPEnvelope &  out 
)

Includes the functionality in above UpdateCredentials method; plus extracting the credential identity

bool Arc::DelegationConsumerSOAP::UpdateCredentials ( std::string &  credentials,
const SOAPEnvelope &  in,
SOAPEnvelope &  out 
)

Accepts delegated credentials. Process 'in' SOAP message and stores full proxy credentials in 'credentials'. 'out' message is generated for sending to DelagationProviderSOAP.


The documentation for this class was generated from the following file:
Generated on Wed Jun 27 11:54:22 2012 for Hosting Environment (Daemon) by  doxygen 1.6.3