Hi,

I was trying to use the form authentication feature in nutch, I have set
the httpclient-auth.xml like this:

<auth-configuration>
    <credentials authMethod="formAuth"
                loginUrl="http://www.arguntrader.com/ucp.php?mode=login";
                loginFormId="login"
                loginRedirect="true">
     <loginPostData>
       <field name="username"
              value="xxxx"/>
       <field name="password"
              value="xxxx"/>
     </loginPostData>

   </credentials>
</auth-configuration>


And, I'm getting "java.lang.RuntimeException:
java.lang.IllegalArgumentException: No form exists: login"

I'm pretty sure the id of the form is "login", and I set
protocol-httpclient in nutch-site.xml

Thanks in advance!

Best,
Chao

Reply via email to