[jboss-user] [Security & JAAS/JBoss] - Re: Extending AbstractPasswordCredentialLoginModule

nsayer do-not-reply at jboss.com
Wed Dec 17 12:20:17 EST 2008


I had this same problem and solved it by instead extending ConfiguredIdentityLoginModule. I overrode initialize() to fetch the password from the options map, decrypt it, then make a new hashmap (the old one is unmodifiable) with the options, replacing the password with the decrypted version, then calling super.initialize().



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4197193#4197193

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4197193



More information about the jboss-user mailing list