"Lab" timeout different than "Office" timeout?

Tim Mc Laughlin Tim.McLaughlin at wwu.edu
Wed May 28 11:38:41 EDT 2008


Yes, and in fact the form will probably end up with some javascript to determine the
"default" state of the checkbox based on IP address.  However, they want the checkbox so
that users in non-WWU IP ranges can make that choice, as well.

Thanks!
Tim

-----Original Message-----
From: cas-bounces at tp.its.yale.edu [mailto:cas-bounces at tp.its.yale.edu] On Behalf Of
Trenton D. Adams
Sent: Tuesday, May 27, 2008 4:19 PM
To: Yale CAS mailing list
Cc: Yale CAS mailing list
Subject: Re: "Lab" timeout different than "Office" timeout?

Is there some sort of requirement for having this "checkbox" that couldn't be determined
automatically?  i.e. by IP address, or whatever?

Surely the Lab and the Office have different IP ranges, no?

----- "Tim Mc Laughlin" <Tim.McLaughlin at wwu.edu> wrote:

> OK, spoke too soon.
>
> The difference between what I'm trying to do and what Trenton Adams 
> wanted is that I'd like to be able to have the user select which role 
> they're in, via a checkbox on the login form.
>
> I've located where and how to implement a new TicketExpirationPolicy, 
> but I'm not sure how to let the value of the checkbox flow through to 
> that code.  Is that possible without changing core code?  I'd like to 
> stick to recognized extension points only.
>
> Thanks,
> Tim
>
> -----Original Message-----
> From: cas-bounces at tp.its.yale.edu [mailto:cas-bounces at tp.its.yale.edu]
> On Behalf Of Tim Mc
> Laughlin
> Sent: Tuesday, May 27, 2008 11:55 AM
> To: cas at tp.its.yale.edu
> Subject: "Lab" timeout different than "Office" timeout?
>
> I am almost sure I've seen this question fly across the list, but none 
> of my queries have been right to find it in the archives, so apologies 
> in advance.
>
> I've been asked if we can implement variable timeouts based on role, 
> the most straightfoward of which will be a checkbox on the login form 
> that can be checked if you're on a "Lab" or "Public" computer.  
> Checking this would result in a shorter CAS timeout than an "Office" 
> or "Private" computer.
>
> Can someone point me in the right direction?
>
> Thanks,
> Tim
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
_______________________________________________
Yale CAS mailing list
cas at tp.its.yale.edu
http://tp.its.yale.edu/mailman/listinfo/cas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4811 bytes
Desc: not available
Url : http://tp.its.yale.edu/pipermail/cas/attachments/20080528/a859bd21/attachment.bin 


More information about the cas mailing list