Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals   Related Pages  

validate.h

Go to the documentation of this file.
00001 
00014 #ifndef _CAS_VALIDATE_H
00015 #define _CAS_VALIDATE_H
00016 
00017 #include "httpd.h"
00018 #include "http_config.h"
00019 
00020 #define DEFAULT_CASServerVersion    2
00021 #define DEFAULT_CASServerHostname   "secure.its.yale.edu"
00022 #define DEFAULT_CASServerPort       "443"
00023 #define DEFAULT_CASServerBaseUri    "/cas/servlet"
00024 #define DEFAULT_CASServerCACertFile "/usr/local/etc/verisignserverca.pem"
00025 
00026 
00027 /*
00028  * ------------------------------------------------------------------
00029  * command handlers for apache directives
00030  *-------------------------------------------------------------------
00031  */
00032 
00033 /* Command handler for the CASServerVersion directive. */
00034 const char *cas_read_CASServerVersion(cmd_parms *cmd, 
00035                                       void *dummy, 
00036                                       const char *word);
00037 /* Command handler for the CASServerHostname directive.*/
00038 const char *cas_read_CASServerHostname(cmd_parms *cmd, 
00039                                       void *dummy, 
00040                                        const char *word);
00041 /* Command handler for the CASServerPort directive. */
00042 const char *cas_read_CASServerPort(cmd_parms *cmd, 
00043                                       void *dummy, 
00044                                    const char *word);
00045 /* Command handler for the CASServerBaseUri directive. */
00046 const char *cas_read_CASServerBaseUri(cmd_parms *cmd, 
00047                                       void *dummy, 
00048                                       const char *word);
00049 /* Command handler for the CASServerCACertFile directive. */
00050 const char *cas_read_CASServerCACertFile(cmd_parms *cmd, 
00051                                          void *dummy, 
00052                                          const char *word);
00053 /* ticket validation by the CAS server */
00054 int cas_validate(request_rec *r, char *ticket, char *service, char *outbuf, int outbuflen);
00055 
00058 #endif
00059 

Generated on Thu Jun 26 14:33:03 2003 for mod_cas by doxygen1.3