During login process, I wish to cache a Java Object into the session for the given user.
I am using a custom login module, derived from UserNamePasswordLoginModule class and am not finding method to get at Session or session cache.
Can Session be accessed from a LoginModule class?
If so, could you show me example code on this?
Or can session be accessed any other way while inside (LoginModule)?
I know I can use JS in Adapter model but this is not what I am looking for.
This topic has been locked.
Pinned topic How to (or can one) get at Session object in custom login module?
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
IdanAdar 2700059KWB288 Posts
Re: How to (or can one) get at Session object in custom login module?2012-04-22T07:59:48ZThis is the accepted answer. This is the accepted answer.Hi,
Currently this is not possible using the LoginModule class.