I'm trying to enrich a Java HttpURLConnection object with the logon ticket (as described in the weblog here: SAP Logon Ticket-based Single Sign-On)
However, I'm getting a <b>NoLogonDataAvailableException</b> with message: <b>No ticket in user object</b>.
Any ideas what could be causing this? Do I need to perform any prior setup?
Does it matter how I retrieve the IUser object? Currently, I do this to get the IUser object: