Branch: Tag:

2004-05-14

2004-05-14 13:55:03 by Marcus Wellhardh <wellhard@roxen.com>

Added check for availability of Kerberos in pike.

Rev: server/modules/tags/kerberos.pike:1.2

4:   #include <module.h>   inherit "module";    - constant cvs_version = "$Id: kerberos.pike,v 1.1 2004/05/14 12:54:09 wellhard Exp $"; + constant cvs_version = "$Id: kerberos.pike,v 1.2 2004/05/14 13:55:03 wellhard Exp $";   constant thread_safe = 1;   constant module_type = MODULE_TAG;   constant module_name = "Tags: Support for kerberos authentication";
12:    "authentication.");   constant module_unique = 1;    + #if constant(Kerberos.Context)   Kerberos.Context ctx = Kerberos.Context();      class TagIfKerberosAuth {
30:    }   }    + #lese /* !constant(Kerberos.Context) */ +  + constant dont_dump_program = 1; +  + string status() + { +  return "<font color='&usr.warncolor;'>Kerberos not available in this roxen.</font>"; + } +  + #endif /* constant(Kerberos.Context) */ +    TAGDOCUMENTATION;   #ifdef manual   constant tagdoc=([