#ifndef GSSCREDENTIAL_H
#define GSSCREDENTIAL_H
+#include "utils/util_json.h"
#include <gssapi/gssapi.h>
+#include <string>
-typedef OM_uint32 (*gss_acq_cred_type)(
+typedef OM_uint32 (KRB5_CALLCONV *gss_acq_cred_type)(
OM_uint32 *, /* minor_status */
gss_name_t, /* desired_name */
OM_uint32, /* time_req */
gss_cred_id_t toGss() const { return(credential); }
void setValue(gss_cred_id_t cred) { this->credential = cred; }
+ JSONObject *toJSONValue() { return( new JSONObject("not now") ); }
private:
gss_cred_id_t credential;