0 Replies Latest reply on Dec 9, 2015 4:07 PM by georgemayko

    Roles not updated after logout and login WildFly 9 + picketlink 2.7.0.FINAL

    georgemayko

      I have some apps configured according to the picketlink quickstarts

       

      My idp looks like this example: https://github.com/jboss-developer/jboss-picketlink-quickstarts/tree/master/picketlink-federation-saml-idp-basic

      and my sps look look like: https://github.com/jboss-developer/jboss-picketlink-quickstarts/tree/master/picketlink-federation-saml-sp-post-basic

      The diference is that I use for IDP realm the Database module from JAAS.

       

      I've migrated theses applications from JBossAS7 to Wilfly9 recently and after this changes, I'm seeing a strange behaviour: apparently when a user logs in the app his roles are charged in IDP session and shared with the SPs apps. But if i change the users roles and this user logout and login, the roles aren't updated, they still the same, only if i restart de server theses roles are updated.


      And for my principalsQuery I have a column that store if a user is able to login or not. If the user is logged and I change on database this column asserting that user is not able to login, even if him makes a logout, he continues to log in the apps. This behaviour looks like the same as previous talk. If the server is restarted the user is not able to log anymore.


      All theses situation didn't occur when the serves was the JBossAS7.


      Ever someone have noticed about these behaviours?