AnsweredAssumed Answered

Issue with Agent API -> Federation Single Sign On

Question asked by rahulk.s on Nov 18, 2015
Latest reply on Nov 19, 2015 by rahulk.s


  We are trying to achieve one requirement. This is our requirement :

1) We have one application which will use agent API for authenticating the user.

2)After user authentication, the same session will be used for federation to generate SAML response.

3)When the user access federation, it should not ask for credentials. The federation manager should take the sm session cookie generated while authenticating user using Agent API.



Now our issue:



We authenticated the user using agent api. We are using same realm for both federation and Agent API authentication.



We created one class and authenticated a user using agent API. We got the smsession from the policy server after successful authentication.



We inserted the smsession which we got from Agent API authentication in a browser and accessed the federation URL. But we are asked for authentication.(Which is  not expected as per the requirement )



We tested in the reverse manner authenticated a user using federation manager and took the cookie from the browser and inserted it in java code. We are getting the SML response successfully.



We cannot trace the issue with the smsession cookie. Please guide us how to debug and fix the issue