Uploaded image for project: 'Codehaus Cargo'
  1. CARGO-1359

Instructions for enabling password protection of cargo-jetty-7-and-onwards-deployer.war are incomplete

    Details

      Description

      cargo-jetty-7-and-onwards-deployer.war ships with no password protection. Instructions for enabling security are documented here:

      https://codehaus-cargo.github.io/cargo/Jetty+Remote+Deployer.html

      The instructions say to "Uncomment the part of web.xml that says Uncomment in order to activate security."

      The instructions don't mention that you must also add stuff to jetty-web.xml. I added this, to enable password protection:

       <Get name="securityHandler">
          <Set name="loginService">
            <New class="org.eclipse.jetty.security.HashLoginService">
                  <Set name="name">Test Realm</Set>
                  <Set name="config"><SystemProperty name="jetty.base" default="."/>/etc/realm.properties</Set>
            </New>
          </Set>
       </Get>
      

        Attachments

          Activity

            People

            • Assignee:
              alitokmen S. Ali Tokmen
              Reporter:
              coder98103 Todd Hivnor (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: