This is an automated email from the ASF dual-hosted git repository.
buhhunyx pushed a commit to branch spring-security-4
in repository https://gitbox.apache.org/repos/asf/cxf-fediz.git
The following commit(s) were added to refs/heads/spring-security-4 by this push:
new 726d640 update test resource
726d640 is described below
commit 726d640552f85b3a0d6ce369cd75518cfe8e1128
Author: amarkevich <[email protected]>
AuthorDate: Tue Apr 30 16:50:05 2019 +0300
update test resource
---
.../unknown-subject/src/test/resources/realmb/security-config.xml | 5 +++++
1 file changed, 5 insertions(+)
diff --git
a/systests/federation/unknown-subject/src/test/resources/realmb/security-config.xml
b/systests/federation/unknown-subject/src/test/resources/realmb/security-config.xml
index 84f3838..c549ef6 100644
---
a/systests/federation/unknown-subject/src/test/resources/realmb/security-config.xml
+++
b/systests/federation/unknown-subject/src/test/resources/realmb/security-config.xml
@@ -41,6 +41,11 @@
<!-- The user has no role during the login phase of WS-Federation -->
<security:global-method-security pre-post-annotations="enabled"/>
+ <!-- Remove the ROLE_ prefix -->
+ <bean id="grantedAuthorityDefaults"
class="org.springframework.security.config.core.GrantedAuthorityDefaults">
+ <constructor-arg value="" />
+ </bean>
+
<security:http pattern="/services/rs/**" use-expressions="true"
authentication-manager-ref="restAuthenticationManager">
<security:custom-filter after="CHANNEL_FILTER" ref="stsPortFilter" />
<security:custom-filter after="SERVLET_API_SUPPORT_FILTER"
ref="entitlementsEnricher" />