java - CAS proxy ticket validation time and number of time it can be used -


is there way increase number of times proxy ticket can used, when using cas server. also, there way increase time before ticket expires. know ticketexpirationpolicies.xml file in cas , have tried changing file follows

<bean id="serviceticketexpirationpolicy" class="org.jasig.cas.ticket.support.multitimeuseortimeoutexpirationpolicy">         <!-- argument number of times ticket can used before considered expired. -->         <constructor-arg             index="0"             value="10" />          <!-- argument time ticket can exist before considered expired.  -->         <constructor-arg             index="1"             value="7200000" />     </bean> 

but not let me use proxy ticket again. message so, there other way or doinig wrong.

thanks


Comments