Topic
  • 1 reply
  • Latest Post - ‏2012-04-22T07:59:48Z by IdanAdar
SystemAdmin
SystemAdmin
570 Posts

Pinned topic How to (or can one) get at Session object in custom login module?

‏2012-04-19T17:49:51Z |
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.

Thanks.

Roger.
  • IdanAdar
    IdanAdar
    288 Posts

    Re: How to (or can one) get at Session object in custom login module?

    ‏2012-04-22T07:59:48Z  
    Hi,

    Currently this is not possible using the LoginModule class.