From: Chad B. (JIRA) <ji...@an...> - 2006-07-28 01:41:21
|
[ http://jira.andromda.org/browse/JSF-17?page=all ] Chad Brandon closed JSF-17: --------------------------- Resolution: Not an issue > jsf catridge does not work correctly while enabling jaas > --------------------------------------------------------- > > Key: JSF-17 > URL: http://jira.andromda.org/browse/JSF-17 > Project: JSF cartridge > Type: Bug > Reporter: Wenhu Guan > Assignee: Chad Brandon > Priority: Blocker > > Everything works fine before I turned on the jaas setting. > Then in the andromda.xml file, I uncomment the following line. > <property name="securityRealm">${application.id}</property> > re-generate the code, configure the jboss login.xml and relate admin actor to some use cases. run the application, when i clicks the protected use cases, > a login dialog appear, input the correct loginid/password, a blank page appears. check the http access log: > 127.0.0.1 - admin [15/Jul/2006:15:35:03 -0700] "POST /provisioning/com/sdc/provisioning/portal/home.jsf HTTP/1.1" 200 14651 > 127.0.0.1 - admin [15/Jul/2006:15:35:03 -0700] "GET /provisioning/images/user.gif HTTP/1.1" 200 105 > 127.0.0.1 - admin [15/Jul/2006:15:36:51 -0700] "POST /provisioning/com/sdc/provisioning/portal/home.jsf HTTP/1.1" 302 - > 127.0.0.1 - admin [15/Jul/2006:15:36:51 -0700] "GET /provisioning/com/sdc/provisioning/portal/stocking/stocked-items.jsf?_afPfm=-4c6a3d1a HTTP/1.1" 404 - > Note it complains the last url can not be found. > well if I removed the jaas realm setup in the andromda.xml, and run again,everything works fine,see the following access log: > 127.0.0.1 - - [15/Jul/2006:15:58:54 -0700] "POST /provisioning/com/sdc/provisioning/portal/home.jsf HTTP/1.1" 302 - > 127.0.0.1 - - [15/Jul/2006:15:58:54 -0700] "GET /provisioning/com/sdc/provisioning/portal/stocking/stocked-items.jsf?_afPfm=47cc4325 HTTP/1.1" 200 16540 > I have used the version 3.2-RC1 snapshot (non-adf version), this part works perfect. So is there anything wrong with adf and jaas integration? > Does anybody try this feature? > Please be noted that even the protected link does not work, the unprotected links still work. I am pretty sure I already logged in, because I can see a logout link in the working pages(unprotected pages) > Thanks -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |