I try to make a website with play with a member and a non member area. So i have controllers with member and non-member methods. But i can only make the whole controller secure [@With(Secure.class)].
Is it possibly to make only a few methods secure and access the others without a login?
Thanks
Yes, you can to this. Remove @With annotation and use this method of Secure controller when you want restrict access to connected user :
With this method, you can even use @Check annotation. Example :