Files | |
| file | authenticate.c |
| file | authenticate.h |
Modules | |
| Ticket Validation | |
Defines | |
| #define | URLBUFSIZE 4096 |
| #define | USERBUFSIZE 20 |
| #define | COOKIENAME "MODCASID" |
| #define | COOKIENAME_SECURE "MODCASIDS" |
| #define | COOKIEPATH "/" |
Functions | |
| char * | get_service (request_rec *r, char *buf, int buflen) |
| char * | get_ticket (request_rec *r) |
| int | check_individual_cookie (void *msg_buf, char *key, char *value) |
| char * | get_netid_from_cookies (request_rec *r) |
| void | send_cookie (char *ticket, request_rec *r) |
| void | create_and_send_new_ticket (request_rec *r) |
| int | cas_check_user_id (request_rec *r) |
|
|
Name of insecure cookies |
|
|
Name of secure cookies |
|
|
Path used when sending cookies |
|
|
Size allocated to read the URLs |
|
|
size allocated to read NetIDs |
|
|
Handles CAS authentication.
|
|
||||||||||||||||
|
A support function for get_netid_from_cookies, used by apr_table_do to handle individual cookies.
|
|
|
Creates and sends a cookie holding a new ticket, which we add to the ticket cache under the appropriate NetID.
|
|
|
Tries to get the NetID from the request's headers.
|
|
||||||||||||||||
|
Fills buf with the 'service' portion of the URL requested.
|
|
|
Returns the 'ticket' portion of the URL requested.
|
|
||||||||||||
|
Sets a cookie corresponding to a particular ticket in the given request's response headers. This is a support function for create_and_send_new_ticket().
|
1.3