title: Joomla: redirect to login page if user is not logged in and back in custom component
body: <p>Here's what I want to do: I have a custom component which, in one of its views, requires the user to be logged in. If he isn't, for now, I only throw an Exception, and thats really ugly.</p>
  
  <p>So I want to redirect the user to the login page. THAT is not the problem, I know how to do it.</p>
  
  <p>BUT. There sure is a way of temporarily "overriding" the default redirect after login-page to the view the user wanted to see. In fact, the menu items do it, for instance. The problem is: I can't figure it out. Does anyone know how to override the default redirect of the login-page ONLY FOR ONE CALL?</p>