title: Retrieve user id from Siteminder smsession
body: <p>Our system is a gateway interacting with Siteminder for authentication and connecting to back end systems. Siteminder is returning SMSESSION and SMIDENTITY in the header. How to retrieve the userid from SMSESSION. The format is as below:
  SMSESSION=dQtTYNjolqkVPoblyV2iUYzlaffxweO7jwHdbC8R8HCRzyuR2E6we22hBEdfOquw4Wx4V2Ly6tuTq7DctZXBpiUVOqYr1htSKExdDauUYD0Eh+jmdw9yBSSjkUm/nlDd6iFizN2zeyBAGda7jgHbyvKCB0T54ZrFFEMTd1jdJfiOJS0q6c</p>
  
  <p>I have tried to take the encoded string manually and decode it but its not getting me the user id. How to get the userid from SMSESSION?</p>
  
  <p>Thanks,</p>