opensubscriber
   Find in this group all groups
 
Unknown more information…

j : jboss-user@lists.sourceforge.net 19 July 2006 • 5:50AM -0400

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - ExtendedFormAuthenticator trouble
by bozmoz

REPLY TO AUTHOR
 
REPLY TO GROUP






Why might ExtendedFormAuthenticator stop working?

I'm having trouble with ExtendedFormAuthenticator. I set it up yesterday based on...
http://wiki.jboss.org/wiki/Wiki.jsp?page=ExtendedFormAuthenticator

...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" />
  |
  | </Context>

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!)

... help??
,boz

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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
JBoss-user mailing list
JBoss-user@list...
https://lists.sourceforge.net/lists/listinfo/jboss-user

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

opensubscriber is not affiliated with the authors of this message nor responsible for its content.