I want my user to be redirected to the login form if he is not logged in ?

The thing is that I don't wanna do this for every action. I know there is a way so that I may define this for every controller only once ( i.e. something executes regardless of the action in my controller ) but I can't remember how.

Edit
Report