Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
mod_auth.h File Reference

Authentication and Authorization Extension for Apache. More...

#include "apr_pools.h"
#include "apr_hash.h"
#include "apr_optional.h"
#include "httpd.h"
#include "http_config.h"
Include dependency graph for mod_auth.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  authn_provider
 
struct  authn_provider_list
 
struct  authz_provider
 

Macros

#define AUTHN_PROVIDER_GROUP   "authn"
 
#define AUTHZ_PROVIDER_GROUP   "authz"
 
#define AUTHN_PROVIDER_VERSION   "0"
 
#define AUTHZ_PROVIDER_VERSION   "0"
 
#define AUTHN_DEFAULT_PROVIDER   "file"
 
#define AUTHN_PROVIDER_NAME_NOTE   "authn_provider_name"
 
#define AUTHZ_PROVIDER_NAME_NOTE   "authz_provider_name"
 
#define AUTHN_PREFIX   "AUTHENTICATE_"
 
#define AUTHZ_PREFIX   "AUTHORIZE_"
 
#define SATISFY_ALL   0
 
#define SATISFY_ANY   1
 
#define SATISFY_NOSPEC   2
 

Typedefs

typedef struct authn_provider_list authn_provider_list
 

Enumerations

enum  authn_status {
  AUTH_DENIED, AUTH_GRANTED, AUTH_USER_FOUND, AUTH_USER_NOT_FOUND,
  AUTH_GENERAL_ERROR, AUTH_HANDLED
}
 
enum  authz_status {
  AUTHZ_DENIED, AUTHZ_GRANTED, AUTHZ_NEUTRAL, AUTHZ_GENERAL_ERROR,
  AUTHZ_DENIED_NO_USER
}
 

Functions

void ap_authn_cache_store (request_rec *, const char *, const char *, const char *, const char *)
 

Detailed Description

Authentication and Authorization Extension for Apache.

Macro Definition Documentation

#define AUTHN_DEFAULT_PROVIDER   "file"
#define AUTHN_PREFIX   "AUTHENTICATE_"
#define AUTHN_PROVIDER_GROUP   "authn"
#define AUTHN_PROVIDER_NAME_NOTE   "authn_provider_name"
#define AUTHN_PROVIDER_VERSION   "0"
#define AUTHZ_PREFIX   "AUTHORIZE_"
#define AUTHZ_PROVIDER_GROUP   "authz"
#define AUTHZ_PROVIDER_NAME_NOTE   "authz_provider_name"
#define AUTHZ_PROVIDER_VERSION   "0"
#define SATISFY_ALL   0

all of the requirements must be met

#define SATISFY_ANY   1

any of the requirements must be met

#define SATISFY_NOSPEC   2

There are no applicable satisfy lines

Typedef Documentation

Enumeration Type Documentation

Enumerator
AUTH_DENIED 
AUTH_GRANTED 
AUTH_USER_FOUND 
AUTH_USER_NOT_FOUND 
AUTH_GENERAL_ERROR 
AUTH_HANDLED 
Enumerator
AUTHZ_DENIED 
AUTHZ_GRANTED 
AUTHZ_NEUTRAL 
AUTHZ_GENERAL_ERROR 
AUTHZ_DENIED_NO_USER 

Function Documentation

void ap_authn_cache_store ( request_rec ,
const char *  ,
const char *  ,
const char *  ,
const char *   
)