This is an automated email from the ASF dual-hosted git repository.
reta pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/main by this push:
new 85d952cfdd Fixing jax_rs/spring_security sample
85d952cfdd is described below
commit 85d952cfdd706a1a91ff2a82fbbe9e52da88595a
Author: Andriy Redko <[email protected]>
AuthorDate: Thu Dec 15 21:26:04 2022 -0500
Fixing jax_rs/spring_security sample
---
.../samples/jax_rs/spring_security/src/main/webapp/WEB-INF/beans.xml | 1 +
1 file changed, 1 insertion(+)
diff --git
a/distribution/src/main/release/samples/jax_rs/spring_security/src/main/webapp/WEB-INF/beans.xml
b/distribution/src/main/release/samples/jax_rs/spring_security/src/main/webapp/WEB-INF/beans.xml
index 70b7f9b9f6..bc219dbf38 100644
---
a/distribution/src/main/release/samples/jax_rs/spring_security/src/main/webapp/WEB-INF/beans.xml
+++
b/distribution/src/main/release/samples/jax_rs/spring_security/src/main/webapp/WEB-INF/beans.xml
@@ -46,6 +46,7 @@
</security:global-method-security>
<security:http auto-config="true">
<security:http-basic/>
+ <security:intercept-url pattern="/**"
access="hasRole('ROLE_CUSTOMER')" />
</security:http>
<security:authentication-manager>
<security:authentication-provider>