View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-collab/trunk/site/src/main/resources/META-INF/client-assembly/security-providers.xml
Revision: 23113
Committed: Fri Jun 11 15:38:24 2010 UTC (10 years, 4 months ago) by wko
Content type: text/plain
File size: 2732 byte(s)
Log Message:
CCPOC-5: Adding JAAS Login configuration and login page.

File Contents

# Content
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright 2008 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 <beans xmlns="http://www.springframework.org/schema/beans"
18 xmlns:lang="http://www.springframework.org/schema/lang"
19 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20 xmlns:aop="http://www.springframework.org/schema/aop"
21 xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
22 http://www.springframework.org/schema/lang http://www.springframework.org/schema/beans/spring-lang-2.5.xsd
23 http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
24
25 <bean id="AuthenticationProvider" class="org.onehippo.forge.security.AuthenticationProvider">
26 <constructor-arg index="0"><value>${hstconfigreader.repository.address}</value></constructor-arg>
27 <constructor-arg index="1"><value>${hstconfigreader.repository.user.name}</value></constructor-arg>
28 <constructor-arg index="2"><value>${hstconfigreader.repository.password}</value></constructor-arg>
29 </bean>
30
31 <bean class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
32 <property name="targetClass"><value>java.lang.System</value></property>
33 <property name="targetMethod"><value>setProperty</value></property>
34 <property name="arguments">
35 <list>
36 <value>java.security.auth.login.config</value>
37 <bean class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
38 <property name="targetObject">
39 <bean class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
40 <property name="targetObject">
41 <bean class="org.springframework.core.io.ClassPathResource">
42 <constructor-arg value="hstlogin.conf" />
43 </bean>
44 </property>
45 <property name="targetMethod"><value>getURL</value></property>
46 </bean>
47 </property>
48 <property name="targetMethod"><value>toString</value></property>
49 </bean>
50 </list>
51 </property>
52 </bean>
53
54 </beans>
55

Properties

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