title: Logging on to CAS server through cURL
body: <p>I am trying to login to a CAS server using cURL.  Here is where I am so far.</p>
  
  <p>I grabbed the authentication page and replaced POST with GET to see what my fields are.  </p>
  
  <blockquote>
    <p>file:///cas/login;jsessionid=89C2DA1B80B0C4E812F2D09CC01C05DB?username=&amp;password=&amp;lt=LT-2960-zIS6pxYZHdsBX7IkykfbW14oLJhdNL&amp;execution=e1s1&amp;_eventId=submit&amp;submit=LOGIN</p>
  </blockquote>
  
  <p>so I run </p>
  
  <pre><code>curl -k --cookie-jar dump --data "jsessionid=89C2DA1B80B0C4E812F2D09CC01C05DB?username=&amp;password=&amp;lt=LT-2960-zIS6pxYZHdsBX7IkykfbW14oLJhdNL&amp;execution=e1s1&amp;_eventId=submit&amp;submit=LOGIN" https://CASHOST/cas/login &gt; output
  </code></pre>
  
  <p>(filling out the username, password, and CASHOST obviously)</p>
  
  <p>But my output is blank.  If I remove the jsessionid field its also blank.</p>
  
  <p>Something that is worrying me is the jsessionid field because its constantly changing.  </p>
  
  <p>Any ideas?</p>