| [632] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|
| 2 | <!-- |
|---|
| 3 | |
|---|
| 4 | Copyright (C) 2010 Cardiff University, Wales <smartp@cf.ac.uk> |
|---|
| 5 | |
|---|
| 6 | Licensed under the Apache License, Version 2.0 (the "License"); |
|---|
| 7 | you may not use this file except in compliance with the License. |
|---|
| 8 | You may obtain a copy of the License at |
|---|
| 9 | |
|---|
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
|---|
| 11 | |
|---|
| 12 | Unless required by applicable law or agreed to in writing, software |
|---|
| 13 | distributed under the License is distributed on an "AS IS" BASIS, |
|---|
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|---|
| 15 | See the License for the specific language governing permissions and |
|---|
| 16 | limitations under the License. |
|---|
| 17 | |
|---|
| 18 | --> |
|---|
| 19 | |
|---|
| 20 | <beans xmlns="http://www.springframework.org/schema/beans" |
|---|
| 21 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|---|
| 22 | xmlns:jaxws="http://cxf.apache.org/jaxws" |
|---|
| 23 | xsi:schemaLocation=" |
|---|
| 24 | http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd |
|---|
| 25 | http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd"> |
|---|
| 26 | |
|---|
| 27 | |
|---|
| 28 | <bean id="endpointRegistry" class="uk.ac.cardiff.raptor.registry.EndpointRegistry"> |
|---|
| 29 | <property name ="endpoints"> |
|---|
| 30 | <list> |
|---|
| 31 | <bean id="cardiffRaptorMUA" class="uk.ac.cardiff.raptor.registry.Endpoint"> |
|---|
| 32 | <property name="serviceEndpoint"><value>http://ipower.insrv.cf.ac.uk:8080/MUA/MultiUnitAggregator</value></property> |
|---|
| 33 | <property name="pushPolicy"><ref bean="genericPushPolicy"></ref></property> |
|---|
| 34 | <property name="attributeFilterPolicy"><ref bean="removePrincipleFilterPolicy"></ref></property> |
|---|
| 35 | </bean> |
|---|
| 36 | </list> |
|---|
| 37 | </property> |
|---|
| 38 | </bean> |
|---|
| 39 | |
|---|
| 40 | <!-- policy for release of events --> |
|---|
| 41 | |
|---|
| 42 | <bean id="genericPushPolicy" class="uk.ac.cardiff.raptor.remoting.policy.PushPolicy"> |
|---|
| 43 | <property name="pushOnOrAfterNoEntries"><value>10</value></property> |
|---|
| 44 | </bean> |
|---|
| 45 | |
|---|
| 46 | <!-- Attribute filter policies --> |
|---|
| 47 | |
|---|
| 48 | <bean id="removePrincipleFilterPolicy" class="uk.ac.cardiff.raptor.attribute.filtering.AttributeFilterPolicy"> |
|---|
| 49 | <property name="policyName"><value>removePrincipleName</value></property> |
|---|
| 50 | <property name="attributeRules"> |
|---|
| 51 | <list> |
|---|
| 52 | <bean class="uk.ac.cardiff.raptor.attribute.filtering.AttributeRule"> |
|---|
| 53 | <property name="attributeID"><value>requestHost</value></property> |
|---|
| 54 | <property name="denyValueRule"> |
|---|
| 55 | <bean class="uk.ac.cardiff.raptor.attribute.filtering.match.MatchRule"> |
|---|
| 56 | <property name="enabled"><value>true</value></property> |
|---|
| 57 | </bean> |
|---|
| 58 | </property> |
|---|
| 59 | </bean> |
|---|
| 60 | </list> |
|---|
| 61 | </property> |
|---|
| 62 | </bean> |
|---|
| 63 | |
|---|
| 64 | |
|---|
| 65 | </beans> |
|---|