Skip to main content

User Authentication & authorisation - Session

No replies
thorman
Offline
Joined: 2007-11-22
Points: 0

Hello,

Does anyone know a good way to keep a session in a web service communication between a J2ME device and the server?

I would like to do a login which authenticates the user and for all subsequent web service requests I would like to be able to get the username for the user doing the web service request without he having to resend it, is this possible ?
Kind of like adding data to the session for a web solution.

I guess this is a common problem, but I haven't seen any information regarding this anywhere.
I have looked a little at Sun Java Identity Management, but I cannot find any examples where the server code (my code) can retreive the user id to get the correct data...

If anyone has some tips on where I can find some more information regarding this it would help me alot.

Thanks.

// Mikael