forgotten changes to get rid of the globus/gssapi dependency
authorDaniel Kouřil <kouril@ics.muni.cz>
Tue, 7 Aug 2007 09:30:59 +0000 (09:30 +0000)
committerDaniel Kouřil <kouril@ics.muni.cz>
Tue, 7 Aug 2007 09:30:59 +0000 (09:30 +0000)
- using edg_wll_gss_gethostname() and edg_wll_GssCred

org.glite.jp.index/examples/jpis-test.c
org.glite.jp.index/src/context.c

index 02ac20e..4f14c8a 100644 (file)
@@ -92,7 +92,7 @@ int main(int argc,char *argv[])
                        memset(rec, 0, sizeof(*rec));
                        rec->jobid = soap_strdup(soap, "https://localhost:7846/pokus1");
                        {
-                               gss_cred_id_t           cred = GSS_C_NO_CREDENTIAL;
+                               edg_wll_GssCred         cred = NULL;
                                edg_wll_GssStatus       gss_code;
                                char                    *subject = NULL;
 
index d6f1379..2316e7e 100644 (file)
@@ -2,7 +2,7 @@
 #include <errno.h>
 #include <string.h>
 
-#include <globus_common.h>
+#include <glite/security/glite_gss.h>
 
 #include "conf.h"
 #include "context.h"
@@ -15,7 +15,7 @@ int glite_jpis_init_context(glite_jpis_context_t *isctx, glite_jp_context_t jpct
        if ((*isctx = calloc(sizeof(**isctx), 1)) != NULL) {
                (*isctx)->jpctx = jpctx;
                (*isctx)->conf = conf;
-               globus_libc_gethostname(hname, sizeof hname);
+               edg_wll_gss_gethostname(hname, sizeof hname);
                asprintf(&(*isctx)->hname, "https://%s:%s", hname, (conf && conf->port) ? conf->port : GLITE_JPIS_DEFAULT_PORT_STR);
 
                op_args = (*isctx)->op_args;