How to get OAMAuthnCookie using OAM ASDK and OAM 11g webgate?
Hi,
I am implementing a Java app that uses the OAM ASDK.
Previously, we were using the OAM ASDK with a 10g webgate and were easily able to get the ObSSOCookie value using UserSession.getSessionToken() method.
However, it seems like, if the webgate is an 11g webgate, the value that the getSessionToken() method returns is not an 11g OAMAuthnCookie?
I found this old thread:
How to generate a OAMAuthnCookie using 11g AccessSDK API
which seems to indicate that it is possible to use getScopedSessionToken() to get an OAMAuthnCookie, but that thread had questions about details about doing that.
So I was wondering if anyone here can provide an example of how to do that, assuming that we can get a user authenticated already via the OAM ASDK and an 11g webgate, i.e., we have a valid UserSession object, how can we then get the OAMAuthnCookie?