Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
Why might ExtendedFormAuthenticator stop working?
I'm having trouble with ExtendedFormAuthenticator. I set it up yesterday based on...
...so I could get to j_password. It worked. This morning it worked too. But for some reason it stopped working. I've rebuilt and redeployed my webapp a few times, restarted JBoss a few times, but no luck.
My context.xml file looks like this...
<Context cookies="true" crossContext="true">
| <!-- Add the ExtendedFormAuthenticator to get access to the username/password/exception -->
| <!-- See http://wiki.jboss.org/wiki/Wiki.jsp?page=ExtendedFormAuthenticator -->
| <Valve className="org.jboss.web.tomcat.security.ExtendedFormAuthenticator"
| includePassword="true" />
I'm using JBoss 4.0.3sp1.
My app has two web-apps. One uses certificates, the other form login. When a user logs into the form login webapp they are passed to the certificate login app.
To get the user info from the form login app to the other, the formlogin app's HttpSession is added as an attribute to the ServletContext. Could this cause a problem with the ExtendedFormAuthenticator?
In any case, I can see through trace code that j_password is not in the session after authentication even in the formlogin web app. (It was earlier today. But not now. And I swear I didn't change the formlogin app!)
View the original post : http://staging.jboss.com/index.html?module=bb&op=viewtopic&p=3890826#3890826
Reply to the post : http://staging.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3890826