Hi ..
I would like to get the password outside of the login modules. That
is, I would like the password to be available in the code which calls
the login method on the login context.
For this, the only way I could think of is to write a custom login
context that will have a protected method getPassword which will
retrieve the password from the shared state hash map. Ofcourse, the
login module's will need to put the password in the shared state map.
Is this a good/secure approach? Is it ok to use a login context other
than one provided with JAAS? Is there any other way to do this.
Thanks a lot.
Anup