users@glassfish.java.net

Re: JAAS authentication aborted doPasswordLogin fails LoginException

From: Harsha R A <Harsha.Ra_at_Sun.COM>
Date: Mon, 15 Oct 2007 15:35:53 +0530

Hi,
What have you stored in the password column? Please check if you have
stored the hashed passwords in it.

Or you can change the relevant line in your custom realm to look for
plain text passwords instead of hashed password.

Thanks
Harsha

glassfish_at_javadesktop.org wrote, On Friday 12 October 2007 08:32 PM:
> One more thing, i have enabled the default role to group mapping and removed the mapping entries from sun-web.xml.
>
> Also, using bnevin's post at
> http://forums.java.net/jive/thread.jspa?messageID=237926
> and his testdbservlet at
> http://forums.java.net/jive/servlet/JiveServlet/download/56-31345-239274-1727/TestDBServlet.java
>
>
> i get the following output which tells me that something is wrong in the realm not jndi or database
>
> Servlet TestDB
> user, pw, group: bob, 1a1dc91c907325c69271ddf0c944bc72, administrator
> [Message sent by forum member 'fedevela' (fedevela)]
>
> http://forums.java.net/jive/thread.jspa?messageID=239771
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>