Hi,

On Thu, Jan 22, 2009 at 10:31 AM, imadhusudhanan
<[email protected]> wrote:
>     I plannin to extend the SimpleLoginModule and SimpleAccessManager and
> customize the same for my application. Firstly, how do I get the
> crendentials of the user when he inputs it thru the authentiation window. Is
> there a possibility to get the SimpleCredential Object so the I use the same
> to verify against my db.

See the JAAS documentation for how to use callback handlers to get
such information. Jackrabbit contains the CredentialsCallbackHandler
class that you can use to retrieve the Credentials associated with a
login request.

BR,

Jukka Zitting

Reply via email to