title: IdP-Initiated Web SSO Profile using JAVA and SAML 2.0
body: <p>In our web application we act as Identity provider (IdP) which  authenticate users through a Login screen with username/password. On successful authentiocation we would like to display a list of hyperlinks which end-users can click to visit partner (service prodicer) web sites. We plan to accomplish these using SAML 2.0 and HTTP POST binding</p>
  
  <p>The  message will be placed within an HTML FORM as a hidden form control named SAMLResponse as shown below</p>
  
   
   
  
  ... 
   
   
  
  <p>as i am newbie to implementation of SAMLResponse as hidden element in JAVA JSP Links, i have following queries
   - How to generate SAMLResponse object in JAVA and then make it as hidden field - Please point me to examples
  - How to Digitally Sign the SAMLResponse in JAVA 
  - How to encrypt SAMLResponse in JAVA</p>
  
  <p>Is there a equivalent method in the Java world? Are there out of the box solutions and/or tutorials for common servlet containers or application servers?</p>