View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-cms7/cms/trunk/config/src/main/resources/cms-login.xml
Revision: 34079
Committed: Fri Apr 13 10:35:48 2012 UTC (9 years ago) by mnour
Content type: text/plain
File size: 2113 byte(s)
Log Message:
CMS7-6070: 'Remember me' cookie max-age should be properly setted and to be configurable
  - Updated the configuration to have:
  -# Added 'rememberme.cookie.maxage' attribute to the login plugin repository configuration which controls the max-age of the cookie in a configurable way
  - Updated code to take that into account and also to have a default value for backward compatibility, so if the attribute is not there this default value is used


File Contents

# Content
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright 2007-2009 Hippo
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS"
13 BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16 -->
17 <sv:node xmlns:sv="http://www.jcp.org/jcr/sv/1.0"
18 sv:name="login">
19 <sv:property sv:name="jcr:primaryType" sv:type="Name">
20 <sv:value>frontend:application</sv:value>
21 </sv:property>
22 <sv:node sv:name="login">
23 <sv:property sv:name="jcr:primaryType" sv:type="Name">
24 <sv:value>frontend:plugincluster</sv:value>
25 </sv:property>
26 <sv:node sv:name="loginPage">
27 <sv:property sv:name="jcr:primaryType" sv:type="Name">
28 <sv:value>frontend:plugin</sv:value>
29 </sv:property>
30 <sv:property sv:name="plugin.class" sv:type="String">
31 <sv:value>org.hippoecm.frontend.plugins.login.RememberMeLoginPlugin</sv:value>
32 </sv:property>
33 <sv:property sv:name="rememberme.cookie.maxage" sv:type="Long">
34 <sv:value>1209600</sv:value>
35 </sv:property>
36 <sv:property sv:name="wicket.id" sv:type="String">
37 <sv:value>service.root</sv:value>
38 </sv:property>
39 <sv:property sv:name="wicket.skin" sv:type="String">
40 <sv:value>skin/screen.css</sv:value>
41 </sv:property>
42 <sv:property sv:name="wicket.behavior" sv:type="String">
43 <sv:value>service.behavior.browser.check</sv:value>
44 </sv:property>
45 <sv:property sv:name="browsers.supported" sv:type="String">
46 <sv:value>ie 7 &gt;=</sv:value>
47 <sv:value>firefox 3 &gt;=</sv:value>
48 <sv:value>safari 5 &gt;=</sv:value>
49 <sv:value>chrome 7 &gt;=</sv:value>
50 </sv:property>
51 </sv:node>
52 </sv:node>
53 </sv:node>

Properties

Name Value
svn:eol-style native
svn:keywords Id
svn:mime-type text/plain