Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Security > JAAS - getting ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 1727 of 1792
Post > Topic >>

JAAS - getting the password.

by anup <anup.patnaik@[EMAIL PROTECTED] > Oct 8, 2007 at 03:12 AM

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
 




 1 Posts in Topic:
JAAS - getting the password.
anup <anup.patnaik@[EM  2007-10-08 03:12:37 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 23:25:01 CDT 2008.