title: Automate login to secure website in java?
body: <p>As part of a small project i'm doing that will never actually go into 'production' I need to be able to log into a very secure website and retrieve html.</p>
  
  <p>I've been looking into doing this using the apache commons HTTPCLient. However i just wanted to make sure it was even possible as this website is very secure and likely has sso methods to sign in?
  If it is possible, what is the best way to do this? I need to be able to navigate through about three pages once i have logged in so will need to store the cookie or session somehow.</p>
  
  <p>Thanks very much!</p>