[java-identity-provider] branch main updated: Update test for strong encapsulation

Ian Young ian at iay.org.uk
Mon Dec 14 10:42:11 UTC 2020


This is an automated email from the git hooks/post-receive script.

iay pushed a commit to branch main
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=852aab8c265751a7c99fe14d1a233545809e70be

The following commit(s) were added to refs/heads/main by this push:
       new  852aab8c2 Update test for strong encapsulation
852aab8c2 is described below

commit 852aab8c265751a7c99fe14d1a233545809e70be
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Mon Dec 14 10:42:06 2020 +0000

    Update test for strong encapsulation
    
    From Java 16, com.sun.org.xxx classes are not visible.
    Fix makes the same change we made in global-system.xml some time ago.
---
 idp-cas-impl/src/test/resources/spring/test-flow-beans.xml | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

diff --git a/idp-cas-impl/src/test/resources/spring/test-flow-beans.xml b/idp-cas-impl/src/test/resources/spring/test-flow-beans.xml
index cbd12a67a..7880cadfd 100644
--- a/idp-cas-impl/src/test/resources/spring/test-flow-beans.xml
+++ b/idp-cas-impl/src/test/resources/spring/test-flow-beans.xml
@@ -127,15 +127,8 @@
           p:coalescing="true"
           p:ignoreComments="true"
           p:ignoreElementContentWhitespace="true"
-          p:namespaceAware="true">
-        <property name="builderAttributes">
-            <map>
-                <!-- Sun/Oracle is the default, for Xerces, set property to org.apache.xerces.util.SecurityManager -->
-                <entry key="http://apache.org/xml/properties/security-manager">
-                    <bean class="com.sun.org.apache.xerces.internal.util.SecurityManager" />
-                </entry>
-            </map>
-        </property>
+          p:namespaceAware="true"
+          p:securityManagerAttributeName="http://apache.org/xml/properties/security-manager">
         <property name="builderFeatures">
             <map>
                 <entry key="http://apache.org/xml/features/disallow-doctype-decl">
@@ -227,4 +220,4 @@
     <bean id="validateTicketAction"
           class="net.shibboleth.idp.cas.flow.impl.ValidateTicketAction"
           c:ticketService-ref="shibboleth.CASTicketService" />
-</beans>
\ No newline at end of file
+</beans>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list