wso2wsf::PasswordCallback Class Reference
[PasswordCallback]

class PasswordCallback Represents an interface that should be implemented by a user specific password callback. Extend from the PasswordCallback class and implement the abstract methods defined here. More...

#include <PasswordCallback.h>

List of all members.

Public Member Functions

virtual std::string getPassword (std::string &username)=0
virtual std::string getPKCS12Password (std::string &username)=0
virtual WSF_EXTERN ~PasswordCallback ()

Static Public Member Functions

static WSF_EXTERN axis2_char_t * callbackPassword (rampart_callback_t *callback, const axutil_env_t *env, const axis2_char_t *username, void *param)
static WSF_EXTERN axis2_char_t * callbackPKCS12Password (rampart_callback_t *callback, const axutil_env_t *env, const axis2_char_t *username, void *param)


Detailed Description

class PasswordCallback Represents an interface that should be implemented by a user specific password callback. Extend from the PasswordCallback class and implement the abstract methods defined here.

Constructor & Destructor Documentation

virtual WSF_EXTERN wso2wsf::PasswordCallback::~PasswordCallback (  )  [virtual]

destructor that can be overridden.


Member Function Documentation

static WSF_EXTERN axis2_char_t* wso2wsf::PasswordCallback::callbackPassword ( rampart_callback_t *  callback,
const axutil_env_t *  env,
const axis2_char_t *  username,
void *  param 
) [static]

Static Handler to be invoked to get the password

static WSF_EXTERN axis2_char_t* wso2wsf::PasswordCallback::callbackPKCS12Password ( rampart_callback_t *  callback,
const axutil_env_t *  env,
const axis2_char_t *  username,
void *  param 
) [static]

Static Handler to be invoked to get the pkcs12 password

virtual std::string wso2wsf::PasswordCallback::getPassword ( std::string &  username  )  [pure virtual]

Handler to be invoked to get the password

Parameters:
username Username associated with the password
Returns:
The corresponding password if successful.

virtual std::string wso2wsf::PasswordCallback::getPKCS12Password ( std::string &  username  )  [pure virtual]

Handler to be invoked to get the pkcs12 password

Parameters:
username Username
Returns:
Password associated with the provided username


The documentation for this class was generated from the following file:

Generated on Wed Oct 14 00:43:26 2009 for WSF/CPP by  doxygen 1.5.7.1