Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-2572

When enabling JAAS realm in login-config.xml context returns 404

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 3.6.2, 3.6.3
    • security
    • MacOS X 10.5.6 using JDK 6.0 (build 1.6.0_07-b06-57, mixed mode) and Jboss AS 5.0.0.GA

    Description

      When the following sniplet isn't in the login-config.xml I'm rightfully prompted with the login box when trying to access the context which Magnolia is running under. However when I put in the following sniplet I get a 404 returned even on /.magnolia/. I haven't been able to debug it further as the 4.0 milestones (empty webapp) doesn't want to even startup under Jboss AS 5.0.0.GA.

              <!--
          magnolia JAAS login modules
          -->
          <application-policy name="magnolia">
             <authentication>
                <login-module code="info.magnolia.jaas.sp.jcr.JCRAuthenticationModule"
                   flag = "requisite" />
                <login-module code="info.magnolia.jaas.sp.jcr.JCRAuthorizationModule"
                   flag = "required" />
             </authentication>
          </application-policy>
      
          <!--
          jackrabbit JAAS login modules
          -->
          <application-policy name="Jackrabbit">
             <authentication>
                <login-module code="org.apache.jackrabbit.core.security.SimpleLoginModule"
                   flag = "required" />
             </authentication>
          </application-policy>
      

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              pbaerfuss Philipp Bärfuss
              sniffy Ian Johannesen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD