authserver/casserver/simple-cas4-overlay-template/src/main/webapp/WEB-INF/spring-configuration/ticketGrantingTicketCookieGenerator.xml
changeset 8 5a0cbbe0922a
equal deleted inserted replaced
7:1a3fa80225b2 8:5a0cbbe0922a
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <!--
       
     3 
       
     4     Licensed to Jasig under one or more contributor license
       
     5     agreements. See the NOTICE file distributed with this work
       
     6     for additional information regarding copyright ownership.
       
     7     Jasig licenses this file to you under the Apache License,
       
     8     Version 2.0 (the "License"); you may not use this file
       
     9     except in compliance with the License.  You may obtain a
       
    10     copy of the License at the following location:
       
    11 
       
    12       http://www.apache.org/licenses/LICENSE-2.0
       
    13 
       
    14     Unless required by applicable law or agreed to in writing,
       
    15     software distributed under the License is distributed on an
       
    16     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
       
    17     KIND, either express or implied.  See the License for the
       
    18     specific language governing permissions and limitations
       
    19     under the License.
       
    20 
       
    21 -->
       
    22 <beans xmlns="http://www.springframework.org/schema/beans"
       
    23        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       
    24        xmlns:p="http://www.springframework.org/schema/p"
       
    25        xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
       
    26 	<description>
       
    27 		Defines the cookie that stores the TicketGrantingTicket.  You most likely should never modify these (especially the "secure" property).
       
    28 		You can change the name if you want to make it harder for people to guess.
       
    29 	</description>
       
    30 	<bean id="ticketGrantingTicketCookieGenerator" class="org.jasig.cas.web.support.CookieRetrievingCookieGenerator"
       
    31 		p:cookieSecure="false"
       
    32 		p:cookieMaxAge="-1"
       
    33 		p:cookieName="CASTGC"
       
    34 		p:cookiePath="/cas" />
       
    35 </beans>