What version of CAS are you using? Andrew R Feller, Analyst University Information Systems 200 Fred Frey Building Louisiana State University Baton Rouge, LA, 70803 (225) 578-3737 (Office) (225) 578-6400 (Fax)
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Trenton D. Adams Sent: Wednesday, April 23, 2008 10:39 AM To: Yale CAS mailing list Subject: Re: CAS Feature -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thanks Andrew. I'll look back to this email once we start looking into the upgrade to CAS 3.x. Andrew R Feller wrote: | Trenton, | | Right now, you can only specify a single timeout policy for use with | service tickets and ticket granting tickets, which the ticket granting | ticket is used for the SSO portion of CAS. This is done in the | cas-server-webapp/src/main/webapp/WEB-INF/spring-configuration/ticketExp | irationPolicies.xml file of the 3.2 branch. | | Now, it might be possible for you to write your own timeout policy to do | it. If you look in | cas-server-core/src/main/java/org/jasig/cas/ticket/TicketState.java, you | will see the getAuthentication() method, which returns an instance of | cas-server-core/src/main/java/org/jasig/cas/authentication/Authenticatio | n.java, which will allow you to use the getPrincipal() method. | | HTH, | | Andrew R Feller, Analyst | University Information Systems | 200 Fred Frey Building | Louisiana State University | Baton Rouge, LA, 70803 | (225) 578-3737 (Office) | (225) 578-6400 (Fax) | | -----Original Message----- | From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] | On Behalf Of Trenton D. Adams | Sent: Tuesday, April 22, 2008 9:44 PM | To: Yale CAS mailing list | Subject: CAS Feature | | Hi Guys, | | Does CAS have a feature that will allow timeouts to be different by user | id and IP address or range? | | I wrote a feature recently for 2.0.11 that allows a regular expression | for both the user id and the IP address. Basically, we don't want | internal staff timing out any time soon, but we do want students to time | out earlier than staff. And we also want staff that are external to | timeout VERY quickly. | | Is there a feature such as this, or is it on the wish list? | | Thanks. | | __ | This communication is intended for the use of the recipient to whom | it | is addressed, and may contain confidential, personal, and or | privileged | information. Please contact us immediately if you are not the | intended | recipient of this communication, and do not copy, distribute, or | take | action relying on it. Any communications received in error, or | subsequent reply, should be deleted or destroyed. | --- | _______________________________________________ | Yale CAS mailing list | [email protected] | http://tp.its.yale.edu/mailman/listinfo/cas | _______________________________________________ | Yale CAS mailing list | [email protected] | http://tp.its.yale.edu/mailman/listinfo/cas - -- Trenton D. Adams Systems Analyst/Web Software Engineer Navy Penguins at your service! Athabasca University (780) 675-6195 :wq! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgPWBkACgkQy1ltpSlXkf+Y0ACfUD8L7JPB5mHsDkDKcs6/+8YP 4eAAoPXCMbprbykpSav5ARH2Cac6T3pE =V/Uw -----END PGP SIGNATURE----- _______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas _______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
