title: WSO2 IS 5.0.0 sso user's claims retrieval error
body: <p>I'm using SAML 2.0 authentication on WSO2 IS 5.0.0 and I have configured 3 service providers to work with. I have also set up custom user store for my user accounts and using domain related authentication. Everytime I try to log in using domain account (domain/user) my custom user store doAuthenticate is properly called.</p>
  
  <p>What is confusing is that if I configure different sets of claims for each provider(sp1=claim1, claim2; sp2=claim1, claim3; sp3=claim5), I start to get the ones from the first provider where user has logged in (for instance, if the first sp where user logs in is sp1, all SAMLResponses from that time from all providers contains claim1, claim2). So that means all providers receives claim set from the first provider. </p>
  
  <p>Which is wrong and I feel this to be a bug. A serious bug. Can anyone guide me where should I start looking for resolving this? </p>
  
  <p>Recently I have patched my authorization module with this patch:
  <a href="https://wso2.org/jira/browse/IDENTITY-2691" rel="nofollow">https://wso2.org/jira/browse/IDENTITY-2691</a></p>
  
  <p>Thank you in advance,</p>
  
  <p>Josef</p>