View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-jcr/console/trunk/resources/src/main/webapp/WEB-INF/applicationContext-security.xml
(Generate patch)

Comparing hippo-jcr/console/trunk/resources/src/main/webapp/WEB-INF/applicationContext-security.xml (file contents):
Revision 36482 by adouma, Tue Aug 21 09:44:02 2012 UTC vs.
Revision 36483 by adouma, Wed Oct 10 10:00:49 2012 UTC

13 BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and 14 See the License for the specific language governing permissions and
15 limitations under the License. 15 limitations under the License.
16--> 16-->
17<beans:beans xmlns="http://www.springframework.org/schema/security" 17<beans:beans xmlns="http://www.springframework.org/schema/security"
18 xmlns:beans="http://www.springframework.org/schema/beans" 18 xmlns:beans="http://www.springframework.org/schema/beans"
19 xmlns:lang="http://www.springframework.org/schema/lang" 19 xmlns:lang="http://www.springframework.org/schema/lang"
20 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 20 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21 xmlns:util="http://www.springframework.org/schema/util" 21 xmlns:util="http://www.springframework.org/schema/util"
22 xmlns:aop="http://www.springframework.org/schema/aop" 22 xmlns:aop="http://www.springframework.org/schema/aop"
23 xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd 23 xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
24 http://www.springframework.org/schema/lang http://www.springframework.org/schema/beans/spring-lang-3.0.xsd 24 http://www.springframework.org/schema/lang http://www.springframework.org/schema/beans/spring-lang.xsd
25 http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd 25 http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd
26 http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd 26 http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
27 http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.0.xsd"> 27 http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security.xsd">
28 28
29 <http pattern="/skin/**" security="none"/>
30 <http pattern="/javascript/**" security="none"/>
31 <http pattern="/login/**" security="none"/>
29 <http auto-config="true"> 32 <http auto-config="true">
30 <intercept-url pattern="/skin/**" filters="none"/>
31 <intercept-url pattern="/javascript/**" filters="none"/>
32 <intercept-url pattern="/login/**" filters="none"/>
33 <intercept-url pattern="/**" access="ROLE_USER" /> 33 <intercept-url pattern="/**" access="ROLE_USER" />
34 <form-login login-page="/login/" 34 <form-login login-page="/login/"
35 default-target-url="/nav/" 35 default-target-url="/nav/"
36 always-use-default-target="true" /> 36 always-use-default-target="true" />
37 <session-management session-fixation-protection="none"> 37 <session-management session-fixation-protection="none">
41 </session-management> 41 </session-management>
42 <!-- Using remember me feature by "10.2 Simple Hash-Based Token Approach" --> 42 <!-- Using remember me feature by "10.2 Simple Hash-Based Token Approach" -->
43 <remember-me key="consoleKey" /> 43 <remember-me key="consoleKey" />
44 </http> 44 </http>
45 45
46 <authentication-manager> 46 <authentication-manager erase-credentials="false">
47 <authentication-provider> 47 <authentication-provider>
48 <user-service> 48 <user-service>
49 <user name="admin" password="admin" authorities="ROLE_USER, ROLE_ADMIN" /> 49 <user name="admin" password="admin" authorities="ROLE_USER, ROLE_ADMIN" />
50 <user name="editor" password="editor" authorities="ROLE_USER, ROLE_EDITOR" /> 50 <user name="editor" password="editor" authorities="ROLE_USER, ROLE_EDITOR" />
51 <user name="author" password="author" authorities="ROLE_USER, ROLE_AUTHOR" /> 51 <user name="author" password="author" authorities="ROLE_USER, ROLE_AUTHOR" />

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines