Skip to content

Commit 1351170

Browse files
committed
Use more readable configuration option names.
1 parent 122e879 commit 1351170

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/mod_auth_gssapi.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ static int mag_auth(request_rec *req)
234234
if (!cfg->gss_conn_ctx) {
235235
ap_log_rerror(APLOG_MARK, APLOG_ERR|APLOG_NOERRNO, 0, req,
236236
"Mechanism needs continuation but "
237-
"GSSConnectionContext is off.");
237+
"GssapiConnectionBound is off.");
238238
gss_delete_sec_context(&min, pctx, GSS_C_NO_BUFFER);
239239
gss_release_buffer(&min, &output);
240240
output.length = 0;
@@ -355,23 +355,23 @@ static const char *mag_cred_store(cmd_parms *parms, void *mconfig,
355355
p = strchr(w, ':');
356356
if (!p) {
357357
ap_log_error(APLOG_MARK, APLOG_ERR|APLOG_NOERRNO, 0, parms->server,
358-
"%s [%s]", "Invalid syntax for GSSCredStore option", w);
358+
"%s [%s]", "Invalid syntax for GssapiCredStore option", w);
359359
return NULL;
360360
}
361361

362362
key = apr_pstrndup(parms->pool, w, (p-w));
363363
value = apr_pstrdup(parms->pool, p + 1);
364364
if (!key || !value) {
365365
ap_log_error(APLOG_MARK, APLOG_ERR|APLOG_NOERRNO, 0, parms->server,
366-
"%s", "OOM handling GSSCredStore option");
366+
"%s", "OOM handling GssapiCredStore option");
367367
return NULL;
368368
}
369369

370370
size = sizeof(gss_key_value_element_desc) * cfg->cred_store.count + 1;
371371
elements = apr_palloc(parms->pool, size);
372372
if (!elements) {
373373
ap_log_error(APLOG_MARK, APLOG_ERR|APLOG_NOERRNO, 0, parms->server,
374-
"%s", "OOM handling GSSCredStore option");
374+
"%s", "OOM handling GssapiCredStore option");
375375
return NULL;
376376
}
377377

@@ -388,13 +388,13 @@ static const char *mag_cred_store(cmd_parms *parms, void *mconfig,
388388
}
389389

390390
static const command_rec mag_commands[] = {
391-
AP_INIT_FLAG("GSSSSLOnly", mag_ssl_only, NULL, OR_AUTHCFG,
391+
AP_INIT_FLAG("GssapiSSLonly", mag_ssl_only, NULL, OR_AUTHCFG,
392392
"Work only if connection is SSL Secured"),
393-
AP_INIT_FLAG("GSSLocalName", mag_map_to_local, NULL, OR_AUTHCFG,
393+
AP_INIT_FLAG("GssapiLocalName", mag_map_to_local, NULL, OR_AUTHCFG,
394394
"Work only if connection is SSL Secured"),
395-
AP_INIT_FLAG("GSSConnectionContext", mag_conn_ctx, NULL, OR_AUTHCFG,
396-
"Authentication is valid for the life of the connection"),
397-
AP_INIT_ITERATE("GSSCredStore", mag_cred_store, NULL, OR_AUTHCFG,
395+
AP_INIT_FLAG("GssapiConnectionBound", mag_conn_ctx, NULL, OR_AUTHCFG,
396+
"Authentication is bound to the TCP connection"),
397+
AP_INIT_ITERATE("GssapiCredStore", mag_cred_store, NULL, OR_AUTHCFG,
398398
"Credential Store"),
399399
{ NULL }
400400
};

0 commit comments

Comments
 (0)