// Gsoap.h #ifndef dset__Gsoap_H #define dset__Gsoap_H // Class interface for gsoap soap struct with GSI plugin. // // The soap struct is not managed. #include #include #include "dataset_credential/GssCredential.h" struct soap; namespace dset { class Gsoap { public: // Implementation class class Imp; private : // data soap* m_psoap; public: // static functions public: // functions // Gsoap constructor. Gsoap(soap& rsoap); // Release the credential of the soap struct. int release_credential(); // Set the credential of the soap struct. // The GSS credential is copied and assigned to the soap struct. // The previous soap credential is released. int set_credential(const GssCredential& cred); // Validity. bool is_valid() const; // Return a GssCredential view (not managing) of the credential. GssCredential credential() const; // Return a GssCredential view (not managing) of the delegated // credential. GssCredential delegated_credential() const; }; } // end namespace // Output stream. std::ostream& operator<<(std::ostream& lhs, const dset::Gsoap& rhs); #endif