I'm trying to make a custom password validator, which will require a user to enter a password before make a change to their settings in my web app.

For example, when a user is logged in, there's a "change email" page, and a "change password" page which will require the user to enter their existing password when making changes.

Now, i'm successful in extending BaseValidator and creating a contribution in my hivemodule.xml file.

The part I'm having trouble with: how can I get a session object into the validator object to look up the password?

Do I need to make my validator a bean in the .page and pass it information? If so, how?

Is what I'm doing not a good idea or somehow wrong?

Thanks,
Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to