Main Page | Data Structures | Directories | File List | Data Fields | Globals

mapper_mgr.h File Reference

#include <openssl/x509.h>
#include "../scconf/scconf.h"
#include "../mappers/mapper.h"

Go to the source code of this file.

Functions

mapper_instanceload_module (scconf_context *ctx, const char *name)
void unload_module (struct mapper_instance *module)
 Unload a module.
mapper_listitemload_mappers (scconf_context *ctx)
 compose mapper module chain
void unload_mappers (void)
 unload mapper module chain
char * find_user (X509 *x509)
int match_user (X509 *x509, const char *login)
 This function search mapper module list until find a module that match provided login name if login is null, call find_user and returns 1,or 0 depending on user found.
void inspect_certificate (X509 *x509)


Function Documentation

char* find_user X509 *  x509  ) 
 

void inspect_certificate X509 *  x509  ) 
 

struct mapper_listitem* load_mappers scconf_context ctx  ) 
 

compose mapper module chain

struct mapper_instance* load_module scconf_context ctx,
const char *  name
 

int match_user X509 *  x509,
const char *  login
 

This function search mapper module list until find a module that match provided login name if login is null, call find_user and returns 1,or 0 depending on user found.

Returns:
1 if match 0 on no match -1 on error

void unload_mappers void   ) 
 

unload mapper module chain

void unload_module struct mapper_instance module  ) 
 

Unload a module.


Generated on Thu Mar 16 22:52:55 2006 for pam_pkcs11 by  doxygen 1.4.2