Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-2262

Legacy security mode gives 404 on login attempt

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Postponed
    • Icon: Critical Critical
    • _unsorted
    • None
    • Platform: Other, OS: Linux

      We recently upgraded from 1.218 to 1.248 and the old way of passing the admin
      name and password no longer works. Here is the startup:

      nohup java -Xmx350m -Djava.awt.headless=true -jar
      ${ARIES_HOME}/hudson/hudson.war --httpPort=9053
      --argumentsRealm.passwd.admin=foo123 --argumentsRealm.roles.admin=admin

      When I try to login I get a 404 error:
      Status Code: 404
      Exception:
      Stacktrace:
      (none)
      Generated by Winstone Servlet Engine v0.9.10 at Sat Aug 23 11:12:12 EDT 2008

      Here is the top of the config.xml:

      • <hudson>
        <numExecutors>1</numExecutors>
        <mode>NORMAL</mode>
        <useSecurity>true</useSecurity>
        <authorizationStrategy class="hudson.security.LegacyAuthorizationStrategy" />
        <securityRealm class="hudson.security.SecurityRealm$None" />
        <systemMessage><b>MDRIT Continuous Integration</b></systemMessage>
        <jdks />
      • <slaves>
        ........

            Unassigned Unassigned
            markgruener markgruener
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: