3 Replies Latest reply on Jan 10, 2014 8:04 AM by pcraveiro

    jsf &  picketlink: redirect to login page if not logged in

    fer.marino

      Ok, this is a simple and commond question, but I'm so inexpert I can't find an answer myself!

      So I'm here asking you how can I redirect everyone that try accessing any non login page if #{identity.loggedIn} is false. I've tried with JSF navigation model, without success. I think that its navigation rules does not work for direct access view.

       

      How do I do that? Servlet filters? In the maven archetype I used to build my application there is no web.xml file...

      JSF navigation model?

      picketlink federation module?

       

      Thank you for your patient!

       

      Fernando