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

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

      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.

       

        <navigation-case>

             <from-outcome>SUCCESS</from-outcome>

             <to-view-id>/pages/home/home.xhtml</to-view-id>

             <redirect />

        </navigation-case>

       

      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.