1 Reply Latest reply on Jan 28, 2004 3:37 PM by mkumar79

    jboss jaas security

    mkumar79 Newbie


      "mkumar79" wrote:
      I got the form authentication but I am having trouble with authorization.
      in my login-config.xml I have specified UsersRolesLoginModule..


      <application-policy name="Security">
      <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule" flag="required" />


      <web-resource-name>Security Application</web-resource-name>



      When I bring up the application, it goes to login.jsp, as expected. If I authenticate fine, it just comes back to login page. If I put in incorrect username and password, it goes to error page.
      Since the welcome file is index.jsp, what do I need to do for it to go to welcome file upon a successful authentication?


        • 1. Re: jboss jaas security
          mkumar79 Newbie


          "mkumar79" wrote:
          I have finally figured out how to get Struts Menus working with Jboss/JAAS using file-based authentication. Let me know if anyone is interested in viewing the configurations.

          I am still working on LDAP configuration. I can get the user to authenticate but I don't think I am setting the roleAttribute correctly.