It's still not working. Setting the pages.xml entries(and updating to HEAD of
cvs) like so:
| <navigation>
| <rule if-outcome="home">
| <redirect view-id="/home.xhtml"/>
| </rule>
| </navigation>
| </page>
|
| <page view-id="/home.xhtml" scheme="https">
| <restrict>#{identity.isLoggedIn(true)}</restrict>
| </page>
|
resulted in identical behavior.
Setting the login-requred parameter to true resulted in me being forwarded to
seam-gen's login.xhtml view. I understand why that's happening-because of the
exception handler listed below...but I'm not sure what I should do to make it
hit my authentication code. Subclass Pages?
| <page view-id="*">
| <navigation>
| <rule if-outcome="home">
| <redirect view-id="/home.xhtml"/>
| </rule>
| </navigation>
| </page>
|
| <page view-id="/home.xhtml" login-required="true" scheme="https">
| </page>
| <exception class="org.jboss.seam.security.NotLoggedInException">
| <redirect view-id="/login.xhtml"/>
| </exception>
|
any ideas? where in the seam code itself should I be looking so I can debug
this behavior?
thanks again
Mike Kohout
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069684#4069684
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069684
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user