Sun Java System Directory Server Enterprise Edition 6.1 Developer's Guide

One-Way and Reversible Password Storage

Parameters for registering pwdstorage and reverpwdstorage plug-in functions follow.

Table 18–25 Password Storage Function Registration Parameters

Parameter ID  

Data Type  

Description  

SLAPI_PLUGIN_PWD_STORAGE_SCHEME_CMP_FN

void *

Function called to encode a password for comparison with a stored, encoded password. 

SLAPI_PLUGIN_PWD_STORAGE_SCHEME_DB_PWD

char *

Stored, encoded user password. 

SLAPI_PLUGIN_PWD_STORAGE_SCHEME_DEC_FN

void *

(reverpwdstorage plug-ins only) Function called to decode an encrypted password.

SLAPI_PLUGIN_PWD_STORAGE_SCHEME_ENC_FN

void *

Function called to encode a password for storage. 

SLAPI_PLUGIN_PWD_STORAGE_SCHEME_NAME

char *

Short password storage scheme name used by the server to identify the encoding scheme. 

SLAPI_PLUGIN_PWD_STORAGE_SCHEME_USER_PWD

char *

User password in clear text.