0 Replies Latest reply on Jul 22, 2013 12:51 PM by Kamala D'Africa

    Web filter

    Kamala D'Africa Newbie

      Hi all,

      I'm developing a simple JSF2/CDI web application with authentication support to deploy on openshift.

      So I need to use picketlink 2.5.0.Beta5 (is this the best choice?).


      The problem is the AuthenticationFilter.

      I configured the filter as this:




          <filter-name>Security Filter</filter-name>
















          <filter-name>Security Filter</filter-name>





      But it shows the login page only once, even though I reload the page in the browser.

      If the login is successful the filter returns an empty page (it breaks the filter chain).


      I figured out that this behaviour depends on the value of the state variable and postAuthentication method in the FormAuthenticationScheme class.

      After the login page is shown the first time, the postAuthentication method always returns false.


      I can't figure out if there is a bug in picketlink or I misconfigured the filter.


      Can somebody help me?