Project

General

Profile

« Previous | Next » 

Revision caba41c4

Added by Cherian Mathew over 8 years ago

Allow authenticated access for users with all roles

View differences:

cdmlib-remote/src/main/resources/eu/etaxonomy/cdm/remote-security.xml
8 8

  
9 9
  <!-- Pattern to intercept URL requests -->
10 10

  
11
  <security:http auto-config="true" authentication-manager-ref="authenticationManager">
12
    <security:intercept-url pattern="/remoting/**" access="ROLE_ADMIN,ROLE_PROJECT_MANAGER,ROLE_USER_MANAGER,ROLE_PUBLISH" />
11
  <security:http auto-config="true" authentication-manager-ref="authenticationManager" use-expressions="true">
12
    <!-- check for full authentication for remoting services -->
13
    <!-- (from http://docs.spring.io/spring-security/site/docs/3.0.x/reference/springsecurity-single.html#el-access) -->
14
    <security:intercept-url pattern="/remoting/**" access="isFullyAuthenticated()" />
13 15
    <security:http-basic />
14 16
  </security:http>
15 17

  
16 18

  
17
  <!-- Pattern to build a security filter chain -->
18

  
19
  <!-- <bean id="remotingSpringSecurityFilterChain" class="org.springframework.security.web.FilterChainProxy"> -->
20
  <!-- <constructor-arg> -->
21
  <!-- <list> -->
22
  <!-- <security:filter-chain pattern="/remoting/**" filters="none"/> -->
23
  <!-- </list> -->
24
  <!-- </constructor-arg> -->
25
  <!-- </bean> -->
26

  
27 19
</beans>

Also available in: Unified diff