3 Replies Latest reply on Jul 13, 2004 5:12 AM by stueccles

    Security Jaas

    Ella Khalif Newbie

      I have a working JAAS-based J"EE application, the login works using the j_security_check. J want now to show loginException on the error.jsp. WiI don't know how. Help me

        • 1. Re: Security Jaas
          Pedro Nevado Newbie

          It is difficult to help you with as little information as you provide. Have a look at the relevant .xml descriptors involved .

          • 2. Re: Security Jaas
            Ella Khalif Newbie

            LoginModule works, but i don't know how to display LoginException on the error page.
            I use web.xml with:
            <realm-name>IPS Anmeldung</realm-name>

            I use login-config.xml with
            <application-policy name = "other">

            <login-module code = "xxx.jaasmodules.MyLoginModule"
            flag = "required">
            <module-option name = "unauthenticatedIdentity">guest</module-option>


            and of course ejb-jar.xml and jboss-web.xml for RoleConfiguration

            • 3. Re: Security Jaas
              stueccles Newbie

              It wont be possible to display the LoginException with the FORM authenticator.
              You will at least need to write a custom authenticator. Even then it will be very difficult.