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

Authorization


Functions

int macs_apxs_authorize (request_rec *)
 Checks authorization.


Detailed Description

These routines authorize access to resources.

Function Documentation

int macs_apxs_authorize request_rec *    r
 

Checks authorization.

Rather than registering this function as an Apache handler in macs_module, it is called from the authentication handler if authentication succeeds. This is in order to completely short-circuit Apache's ideas of authentication and authorization. It's a tribute to the flexibility of MACS' modular design.

If url is not mapped, return DECLINED. If no uid is found, return UNAUTHORIZED. Unmap url and ask ATS (operation READ). If ATS says yes, return OK; else return UNAUTHORIZED.


Generated on Tue Oct 8 22:15:54 2002 for MACS Apache Client Module by doxygen1.2.16