I am trying to manage my user via cookie. It\'s not that easy because there is absolutely no documentation about this topic.
With the help of the sample \"zentask\"
As shown in the Zentask sample, your Secured class should extend Security.Authenticator.
With this, it will allow to put a @Security.Authenticated annotation either on a Controller, or on an Action. This annotation allows to redirect the client to another page if the user is not properly authorized (by overriding the Security.Authenticator.onUnauthorized() method).
The workflow is the following: