Revision 9b34335f
Added by Jürgen Koch almost 13 years ago
cdmlib-remote-webapp/src/main/webapp/WEB-INF/applicationContext.xml | ||
---|---|---|
73 | 73 |
<!-- |
74 | 74 |
======= Security ======= |
75 | 75 |
--> |
76 |
|
|
77 |
<security:global-method-security secured-annotations="enabled" /> |
|
78 |
|
|
76 | 79 |
<security:http realm="SecRemoting" use-expressions="true"> |
77 | 80 |
<security:http-basic/> |
78 | 81 |
<security:intercept-url pattern="/**" access="isAuthenticated()" requires-channel="any"/> |
82 |
<!-- <security:intercept-url pattern="/security.service" access="isAuthenticated()" requires-channel="any"/> --> |
|
83 |
<!-- <security:intercept-url pattern="/**" access="hasRole('ROLE_USER1')" requires-channel="any"/> --> |
|
79 | 84 |
<security:port-mappings> |
80 | 85 |
<security:port-mapping http="8080" https="8443"/> |
81 | 86 |
</security:port-mappings> |
Also available in: Unified diff
Inserting some sample intercept patterns