authserver/casserver/simple-cas4-overlay-template/src/main/webapp/WEB-INF/spring-configuration/warnCookieGenerator.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 	This Spring Configuration file describes the cookie used to store the WARN parameter so that a user is warned whenever the CAS service
       
    28 	is used.  You would modify this if you wanted to change the cookie path or the name.
       
    29 	</description>
       
    30 
       
    31 	<bean id="warnCookieGenerator" class="org.jasig.cas.web.support.CookieRetrievingCookieGenerator"
       
    32 		p:cookieSecure="false"
       
    33 		p:cookieMaxAge="-1"
       
    34 		p:cookieName="CASPRIVACY"
       
    35 		p:cookiePath="/cas" />
       
    36 </beans>