0 Replies Latest reply on Nov 18, 2012 9:34 AM by William Wang

    how to populate login info when using jboss-jaas architecture in JSF project?

    William Wang Newbie

      Dear all,


          I try to use login module, "org.jboss.security.auth.spi.UsersRolesLoginModule", to perform authetication. But it seems not support <redirect /> tag in faces-config.xml.

      I paste here.





             <redirect />



      I feel that if using <redirect />, it will generate another thread. The previous info (which using LoginContext.login() retrieved) will be lost in new thread. Thus system will push you back to the login page that define in form-login-page section of web.xml file.


      So, is there any solution about this issue, can somebody help me? Thanks a lot.