History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: JSF-17
Type: Bug Bug
Status: Closed Closed
Resolution: Not an issue
Priority: Blocker Blocker
Assignee: Chad Brandon
Reporter: Wenhu Guan
Votes: (View)
Watchers: (View)
Operations

If you were logged in you would be able to see more operations.
JSF cartridge

jsf catridge does not work correctly while enabling jaas

Created: 17/Jul/06 12:46 AM   Updated: 25/Jul/06 08:33 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None


 Description   
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

 All   Comments   Change History      Sort Order:
Comment by Wenhu Guan [25/Jul/06 08:09 PM]
invalid. please close it.
Thanks