Added beginnings of commands that mod_auth_kerb supports.
authorjadestorm <jadestorm>
Tue, 9 Jul 2002 04:54:48 +0000 (04:54 +0000)
committerjadestorm <jadestorm>
Tue, 9 Jul 2002 04:54:48 +0000 (04:54 +0000)
apache1/auth_cmds.c [new file with mode: 0644]

diff --git a/apache1/auth_cmds.c b/apache1/auth_cmds.c
new file mode 100644 (file)
index 0000000..611dff6
--- /dev/null
@@ -0,0 +1,30 @@
+command_rec kerb_auth_cmds[] = {
+       {
+               "AuthKerberos",
+               kerb_set_type_slot,
+               (void*)XtOffsetOf(kerb_auth_config, krb_auth_type),
+               OR_AUTHCFG,
+               TAKE1,
+               "Permit Kerberos auth without AuthType requirement."
+       },
+
+       {
+               "KrbFailStatus",
+               kerb_set_fail_slot_string,
+               (void*)XtOffsetOf(kerb_auth_config, krb_fail_status),
+               OR_AUTHCFG,
+               TAKE1,
+               "If auth fails, return status set here."
+       },
+
+       {
+               "KrbAuthoritative",
+               kerb_set_fail_slot_flag,
+               (void*)XtOffsetOf(kerb_auth_config, krb_fail_status),
+               OR_AUTHCFG,
+               FLAG,
+               "If auth fails, decline and pass on to lower modules."
+       },
+
+       { NULL }
+};