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