[aerogear-dev] integrate aerogear into existing jsf application

Bruno Oliveira bruno at abstractj.org
Fri Apr 5 09:49:54 EDT 2013


Hi my friend. PicketLink is under development and will be integrated with AS in the future, so for now is not possible to do such thing. As alternative to authorization I suggest the following approach: https://github.com/aerogear/aerogear-controller-demo/blob/master/src/main/java/org/jboss/aerogear/controller/demo/Routes.java#L83 or if you don't want to use authorization on controller's routes, is possible to define it by method https://github.com/picketlink/TODO/blob/master/server/src/main/java/org/aerogear/todo/server/rest/ProjectEndpoint.java#L49

Makes sense? Let me know if it helps.  


-- 
"The measure of a man is what he does with power" - Plato
-
@abstractj
-
Volenti Nihil Difficile



On Friday, April 5, 2013 at 5:47 AM, tomlux wrote:

> Hy,
> 
> I have a WEB-application based on JEE6 with CDI and JSF2 running on Jboss7.1
> The security part is done be the "DATABASE" login module defined in
> standalone.xml from JBoss.
> The web application uses the security defined by "security-constraint"s in
> the web.xml (http://web.xml) file.
> Everything is working fine.
> 
> Now I want to start with aerogear, specially aerogear-android.
> I have added the aerogear-controller with the picketlink authentication
> successfully in my existing application.
> My android-app can successfully login/logout and use the pipes to load the
> data.
> 
> BUT, I have now *2 different authentication system*, the
> DATABASE-login-module with the security-constraint-webxml and the
> aerogear-picketlink.
> Here the jboss config:
> 
> 
> And the web.xml (http://web.xml) part:
> 
> 
> How can I change to get the picketlink authentication working like the
> DATABASE-login-module?
> 
> I want to handle the jsf-security part in the web.xml (http://web.xml) with
> security-contraints, otherwise I should have to define a lot of "routes".
> 
> 
> Thanks for any help/suggestions,
> Tom
> 
> 
> 
> --
> View this message in context: http://aerogear-dev.1069024.n5.nabble.com/integrate-aerogear-into-existing-jsf-application-tp2194.html
> Sent from the aerogear-dev mailing list archive at Nabble.com (http://Nabble.com).
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org (mailto:aerogear-dev at lists.jboss.org)
> https://lists.jboss.org/mailman/listinfo/aerogear-dev





More information about the aerogear-dev mailing list