Hey :)
I have a little burning project problem >.>
First the user shall authenticate with a tan
--> if the tan is wrong: error page
--> if correct : show the form
and then a strict order --> show the form solved --> page with send form button --> page with confirmation, that the form was send
but currently you can jump over the authentication direct to the other pages
my bean is session scoped:
A quick and simple solution would be awesome.
Greetings
Rob
edit:
this looks pretty interesting:
http://brendangraetz.wordpress.com/2010/06/17/use-servlet-filters-for-user-authentication/
but I don't really understand what he means by:
"Subclass the `LoginFilter` as a concrete class, `MemberLoginFilter`, by implementing the `isAuth` method"
edit2:
another solution could be:
http://thierrywasyl.wordpress.com/2009/06/22/create-your-own-filter-in-jsf/
worked nearly perfect, but after login and filling out the firm, you return back to the login ._.