cancel
Showing results for 
Search instead for 
Did you mean: 

NoLogonDataAvailableException: No ticket in user object

Former Member
0 Kudos

Hi,

I'm trying to enrich a Java HttpURLConnection object with the logon ticket (as described in the weblog here: )

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:

UMFactory.getUserFactory().getUserByLoginID(...)

instead of

request.getUser()

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I think you need to use request.getUser, since if you do not the user hasn't logged in to the system and therefore the usermappings/password have not been enriched.

Former Member
0 Kudos

Thanks Dagfinn. I suspected as much, but it's always nice to have my suspicions confirmed.

Answers (0)