Revision 5a49a28f
Added by Cherian Mathew almost 9 years ago
eu.etaxonomy.taxeditor.cdmlib/src/main/resources/eu/etaxonomy/cdm/remotingApplicationContext.xml | ||
---|---|---|
6 | 6 |
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.1.xsd |
7 | 7 |
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd"> |
8 | 8 |
|
9 |
<context:annotation-config /> |
|
10 |
|
|
11 | 9 |
<import resource="classpath:/eu/etaxonomy/cdm/httpInvokerServiceClients.xml" /> |
12 | 10 |
|
13 | 11 |
<bean id="cdmEntitySessionManager" |
... | ... | |
49 | 47 |
<property name="accessDecisionManager" ref="accessDecisionManager" /> |
50 | 48 |
</bean> |
51 | 49 |
|
52 |
<!-- The CdmSecurityHibernateInterceptor checks onSave() and on flushDirty() |
|
53 |
if the currently authenticated principal or token has sufficient permissions |
|
54 |
on the entity to be persisted --> |
|
55 |
<bean id="securityHibernateInterceptor" |
|
56 |
class="eu.etaxonomy.cdm.persistence.hibernate.CdmSecurityHibernateInterceptor"> |
|
57 |
<property name="permissionEvaluator" ref="cdmPermissionEvaluator" /> |
|
58 |
</bean> |
|
59 |
|
|
60 | 50 |
<bean id="authenticationManager" |
61 | 51 |
class="org.springframework.security.authentication.ProviderManager"> |
62 | 52 |
<property name="providers"> |
... | ... | |
81 | 71 |
<property name="userPropertyToUse" value="getUsername" /> |
82 | 72 |
</bean> |
83 | 73 |
|
84 |
|
|
85 |
<bean id="cdmServiceCacher" |
|
86 |
class="eu.etaxonomy.cdm.api.cache.CdmServiceCacher" /> |
|
87 |
|
|
88 |
|
|
89 | 74 |
</beans> |
Also available in: Unified diff
#4932 Remove autowired members, Use serliaised cdm model map