Project

General

Profile

Revision 7f87310a

ID7f87310a8313162080add7230915ed67c0316615
Parent fa4763c1
Child fa63b6b4

Added by Andreas Kohlbecker almost 2 years ago

fix #7972 restricing access to /remoting/** to role 'ROLE_ADMIN', 'ROLE_REMOTING'

View differences:

cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/config/MultiWebSecurityConfiguration.java
65 65
                http
66 66
             .anonymous().disable()
67 67
             .antMatcher("/remoting/**")
68
                 .authorizeRequests().anyRequest().fullyAuthenticated()
68
                 .authorizeRequests().anyRequest().access("hasAnyRole('ROLE_ADMIN', 'ROLE_REMOTING')")
69 69
                 .and()
70 70
             .csrf().disable()
71 71
             .httpBasic();

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)