<div dir="ltr">I&#39;m not really too familiar with the JSF scaffold, but it probably has something to do with the conversation ID being lost.<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 25, 2013 at 9:58 AM, Tejas Mehta <span dir="ltr">&lt;<a href="mailto:tmehta@redhat.com" target="_blank">tmehta@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I have been working on expanding the plugin-spring-mvc to include Spring Security as an add-on. However, more I work with Spring Security more I realize that it doesn&#39;t really need anything from the original spring-mvc plugin. Therefore, I am proposing to create a separate plugin for Spring Security.<br>

<br>
Now, to test the whether this plugin would be viable with other scaffolding plugins, I have been testing with the default JSF scaffolding. It works well for most part, i.e. it intercepts create/edit/delete urls and forces user authentication. The problem happens when the user is authenticated and the browser is redirected to the original link. For example, when creating a Person, after authentication, I get an error along the lines: value=&quot;#{<a href="http://personBean.person.name" target="_blank">personBean.person.name</a>}&quot;: Target Unreachable, &#39;person&#39; returned null (full stack trace: <a href="http://pastebin.com/UNqX2vYT" target="_blank">http://pastebin.com/UNqX2vYT</a>).<br>

<br>
This is my first real venture into JSF so I am not sure how to go about fixing it, I suspect the problem is in how spring&#39;s lifecycles work compared to jsf&#39;s. If this issue (and other unknown ones) can be fixed, I think Spring Security can be its own plugin and used with any scaffolding.<br>

<br>
Tejas M.<br>
_______________________________________________<br>
forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>&quot;Simpler is better.&quot;
</div></div>