Apache HTTPD
Classes | Macros | Typedefs | Enumerations
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"

Go to the source code of this file.

Classes

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
 
typedef void() apr_OFN_ap_authn_cache_store_t(request_rec *, const char *, const char *, const char *, const char *)
 

Enumerations

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

Detailed Description

Authentication and Authorization Extension for Apache.

Definition in file mod_auth.h.

Macro Definition Documentation

◆ AUTHN_DEFAULT_PROVIDER

#define AUTHN_DEFAULT_PROVIDER   "file"

Definition at line 43 of file mod_auth.h.

◆ AUTHN_PREFIX

#define AUTHN_PREFIX   "AUTHENTICATE_"

Definition at line 48 of file mod_auth.h.

◆ AUTHN_PROVIDER_GROUP

#define AUTHN_PROVIDER_GROUP   "authn"

Definition at line 39 of file mod_auth.h.

◆ AUTHN_PROVIDER_NAME_NOTE

#define AUTHN_PROVIDER_NAME_NOTE   "authn_provider_name"

Definition at line 45 of file mod_auth.h.

◆ AUTHN_PROVIDER_VERSION

#define AUTHN_PROVIDER_VERSION   "0"

Definition at line 41 of file mod_auth.h.

◆ AUTHZ_PREFIX

#define AUTHZ_PREFIX   "AUTHORIZE_"

Definition at line 49 of file mod_auth.h.

◆ AUTHZ_PROVIDER_GROUP

#define AUTHZ_PROVIDER_GROUP   "authz"

Definition at line 40 of file mod_auth.h.

◆ AUTHZ_PROVIDER_NAME_NOTE

#define AUTHZ_PROVIDER_NAME_NOTE   "authz_provider_name"

Definition at line 46 of file mod_auth.h.

◆ AUTHZ_PROVIDER_VERSION

#define AUTHZ_PROVIDER_VERSION   "0"

Definition at line 42 of file mod_auth.h.

◆ SATISFY_ALL

#define SATISFY_ALL   0

all of the requirements must be met

Definition at line 53 of file mod_auth.h.

◆ SATISFY_ANY

#define SATISFY_ANY   1

any of the requirements must be met

Definition at line 57 of file mod_auth.h.

◆ SATISFY_NOSPEC

#define SATISFY_NOSPEC   2

There are no applicable satisfy lines

Definition at line 61 of file mod_auth.h.

Typedef Documentation

◆ apr_OFN_ap_authn_cache_store_t

typedef void() apr_OFN_ap_authn_cache_store_t(request_rec *, const char *, const char *, const char *, const char *)

Definition at line 135 of file mod_auth.h.

◆ authn_provider_list

Definition at line 95 of file mod_auth.h.

Enumeration Type Documentation

◆ authn_status

Enumerator
AUTH_DENIED 
AUTH_GRANTED 
AUTH_USER_FOUND 
AUTH_USER_NOT_FOUND 
AUTH_GENERAL_ERROR 

Definition at line 64 of file mod_auth.h.

◆ authz_status

Enumerator
AUTHZ_DENIED 
AUTHZ_GRANTED 
AUTHZ_NEUTRAL 
AUTHZ_GENERAL_ERROR 
AUTHZ_DENIED_NO_USER 

Definition at line 72 of file mod_auth.h.