Write an interceptor then apply it to the actions, assuming that the rules for what to access can be encoded in the url. If not it then probably belongs in the service tier.
On Thu, Dec 12, 2013 at 3:01 AM, Chris <christal...@yahoo.fr> wrote: > Hello, > > How to organize the actions, when you just want check the password and the > user, on a LDAP or SGBD system . For a boolean response only. ( authorised > / or not ) > You do write all the command in the only same action , don't you ?