For 2.0 check the approach of zentask sample app.
The idea is to annotate the controllers with @Security.Authenticated(Secured.class)
El sábado, 7 de julio de 2012 18:05:17 UTC-3, kadams-alfresco escribió:
I have a Java controller called Login with a doLogin method. For every other controller, I have a dependency to call the doLogin method to get an authentication ticket prior to performing any other method calls. What is the best way to accomplish this?
I'm trying to build off of the Java tutorial, but it wont allow me to simply call another controller. Any hints/tips/tricks/or hey dumbass do this?
- Kyle