File: InfocardOPController-servlet.xml

package info (click to toggle)
openid4java 1.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,912 kB
  • sloc: java: 14,510; xml: 2,402; jsp: 865; makefile: 3
file content (53 lines) | stat: -rw-r--r-- 2,144 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:util="http://www.springframework.org/schema/util"
       xsi:schemaLocation="
       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
       http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.0.xsd">

  <!-- Configurer that replaces ${...} placeholders with values from a properties file -->
  <bean id="defaultPropertyConfigurer"
        class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
    <property name="locations">
      <list>
        <value>classpath:config.defaults.properties</value>
      </list>
    </property>
    <property name="order" value="1"/>
  </bean>
  <bean id="externalPropertyConfigurer"
        class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
    <property name="locations">
      <list>
        <value>classpath:config.properties</value>
        <value>file:/www/sxweb/server/openidcards/infocardop/conf/config.properties</value>
      </list>
    </property>
    <property name="ignoreResourceNotFound" value="true" />
    <property name="ignoreUnresolvablePlaceholders" value="true" />
    <property name="order" value="0"/>
  </bean>

  <bean id="urlMapper"
        class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
    <property name="mappings">
      <value>
        /*=InfocardOPController
      </value>
    </property>
  </bean>

  <bean id="viewResolver"
        class="org.springframework.web.servlet.view.InternalResourceViewResolver">
    <property name="prefix" value="/WEB-INF/jsp/"/>
    <property name="suffix" value=".jsp"/>
  </bean>

  <bean id="InfocardOPController" class="net.sxip.openidcards.infocardop.web.InfocardOPController">
    <property name="supportedMethods" value="GET,POST"/>
    <property name="serverManager" ref="OpenIDServerManager"/>
    <property name="openidErrorView" value="openiderror"/>
  </bean>

</beans>