Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Resin 3 Forms Authentication

 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am wanting to start using Resin instead of Tomcat for my personal use and I am having a problem getting Forms authentication to work. Using the code I am posting below, I always get the error.jsp page returned even though I am using the correct username and password and I don't know why. I have tried both the XMLAuthentication and the JDBCAuthentication and both return the error page. The code below is for the XMLAuthentication.
web.xml

resin-web.xml

login.jsp

In my resin-web.xml file I have commented out the JDBCAuthentication part and I am using the <user> tag to specify the user with roles. Any help would be greatly appreciated.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I figured out that I had to add
<password-digest>none</password-digest>
because if I don't it uses MD5 by default.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic