title: Web SSO using Java and SAML 2.0
body: <p>I'd like to write a web application which does the authentication using SAML 2.0 tokens, issued by an identity provider. I understand, according to this <a href="https://stackoverflow.com/questions/806131/how-to-implement-saml-sso">question</a>, that there is a viable solution in the PHP world using <a href="http://rnd.feide.no/simplesamlphp" rel="nofollow noreferrer">simpleSAMLphp</a>. </p>
  
  <p>Is there an equivalent method in the Java world? Are there out of the box solutions and/or tutorials for common <code>servlet</code> containers or application servers?</p>