Nice work !<div><br></div><div>-M<span></span><br><br>On Tuesday, October 2, 2012, Bruno Oliveira  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div>
                    <div>Hi everyone,</div><div><br></div><div>Today I finally got <a href="https://issues.jboss.org/browse/AEROGEAR-437" style="color:rgb(0,106,227)" target="_blank">https://issues.jboss.org/browse/AEROGEAR-437</a> done, which means that now we have AeroGear Controller integrated with PicketBox, Picketlink and Deltaspike. Aerogear Security is the &quot;middle-man&quot; responsible for deal with security frameworks and JAX-RS authorization responses, currently.</div>
<div><br></div><div>And our routes now can be role based like this <a href="https://github.com/aerogear/aerogear-controller-demo/blob/master/src/main/java/org/jboss/aerogear/controller/demo/Routes.java#L44" style="color:rgb(0,106,227)" target="_blank">https://github.com/aerogear/aerogear-controller-demo/blob/master/src/main/java/org/jboss/aerogear/controller/demo/Routes.java#L44</a>:</div>
<div><br></div><div><div>route()</div><div>                .from(&quot;/delorean&quot;).roles(&quot;admin&quot;)</div><div>                .on(RequestMethod.GET)</div><div>                .to(Home.class).anotherPage();</div>
</div><div><br></div><div>It was deployed on OpenShift: <a href="http://controller-abstractj.rhcloud.com/aerogear-controller-demo/" style="color:rgb(0,106,227)" target="_blank">http://controller-abstractj.rhcloud.com/aerogear-controller-demo/</a>. If you wan&#39;t to test it and file some jiras to me, just configure your application like I did at our demo <a href="https://github.com/aerogear/aerogear-controller-demo/blob/master/pom.xml#L86" style="color:rgb(0,106,227)" target="_blank">https://github.com/aerogear/aerogear-controller-demo/blob/master/pom.xml#L86</a> and go for it.</div>
<div><div><br></div><div>What&#39;s missing?</div><div><br></div><div>- HTTP authentication responses (High priority now, to handle responses to the client side)</div><div><div>- Better exception handling</div><div>- Expose timeout configuration</div>
<div>- PicketBoxLoadUser must be optional</div><div>- Role validation improvements</div><div>- Page redirection on error (Daniel have been working on it - <a href="https://issues.jboss.org/browse/AEROGEAR-426" style="color:rgb(0,106,227)" target="_blank">https://issues.jboss.org/browse/AEROGEAR-426</a>)</div>
<div>- Registration page</div><div>- Code refactoring as usual</div><div>- Make use of aerogear controller at our TODO app (eating our own dog food)</div></div></div>
                </div>
                <div><div><br></div><div><br></div><div><div>-- </div><div>&quot;The measure of a man is what he does with power&quot; - Plato</div><div>-</div><div>@abstractj</div><div>-</div><div>Volenti Nihil Difficile</div>
</div></div>
            </blockquote></div><br><br>-- <br>Sent from Gmail Mobile<br>