leveraging login context expiration on login form

Cantor, Scott cantor.2 at osu.edu
Wed Jul 31 11:20:43 EDT 2013


On 7/31/13 11:06 AM, "Christopher Bongaarts" <cab at umn.edu> wrote:

>Is there a way, from within login.jsp, to get the time (preferably in
>UNIX time_t but any format will do) that the current loginContext will
>expire?  A cursory examination of the methods of loginContext didn't
>reveal anything obvious.

It's not stored there, there's an Entry object around it that carries the
value. It's quite long, apparently, a half hour. I wouldn't have expected
that.

-- Scott




More information about the users mailing list