Robert,

Can you run it through Eclipse using the remote debug support with Tomcat.
Then set a break point in the grant service ticket method of the
CentralAuthenticationServiceImpl for after the TGT is retrieved and view the
TGT returned just to make sure the storage to the database isn't screwing up
any of the values.

-Scott

On Thu, Mar 27, 2008 at 11:24 AM, Robert Oschwald <[EMAIL PROTECTED]> wrote:

>
>  I use a JPA backed ticket registry with a
> RememberMeDelegatingExpirationPolicy in CAS 3.2.1-RC1 (also tested with
> the former SNAPSHOT versions).
> The cleanup task is not cleaning any TGTs even if I set  the
> rememberMeExpirationPolicy->TimeoutExpirationPolicy time to a very low
> value.
> The DefaultTicketRegistryCleaner Task is running but all TGTs are marked
> as "not expired".
>
> Here is my ticketExpirationPolicies.xml content I use for testing:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <beans xmlns="http://www.springframework.org/schema/beans";
>        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>        xmlns:p="http://www.springframework.org/schema/p";
>        xsi:schemaLocation="http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd";>
>
>  <!-- Expiration policies -->
>  <bean id="serviceTicketExpirationPolicy" class="
> org.jasig.cas.ticket.support.MultiTimeUseOrTimeoutExpirationPolicy">
>   <!-- This argument is the number of times that a ticket can be used
> before its considered expired. -->
>   <constructor-arg
>    index="0"
>    value="1" />
>
>   <!-- This argument is the time a ticket can exist before its considered
> expired.  -->
>   <constructor-arg
>    index="1"
>    value="300000" />
>  </bean>
>
>  <!-- original, no Remember ME support
>  <bean id="grantingTicketExpirationPolicy" class="
> org.jasig.cas.ticket.support.TimeoutExpirationPolicy">
>    <constructor-arg
>    index="0"
>    value="7200000" />
>  </bean>
>  -->
>
>  <bean id="grantingTicketExpirationPolicy" class="
> org.jasig.cas.ticket.support.RememberMeDelegatingExpirationPolicy">
>   <property name="sessionExpirationPolicy">
>    <bean class="org.jasig.cas.ticket.support.TimeoutExpirationPolicy">
>       <constructor-arg index="0" value="7200" /> <!-- just for testing -->
>    </bean>
>   </property>
>   <property name="rememberMeExpirationPolicy">
>    <bean class="org.jasig.cas.ticket.support.TimeoutExpirationPolicy">
>       <constructor-arg index="0" value="10000" /> <!-- just for testing
> -->
>    </bean>
>   </property>
>  </bean>
> </beans>
>
>
> Has anyone tried the new JPA based ticketregistry?
>
> Robert
>
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>


-- 
-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to