diff --git a/mujina-common/pom.xml b/mujina-common/pom.xml index cdb33362..7ca88397 100644 --- a/mujina-common/pom.xml +++ b/mujina-common/pom.xml @@ -20,7 +20,7 @@ org.openconext mujina - 5.0.1 + 5.0.2 ../pom.xml diff --git a/mujina-idp/pom.xml b/mujina-idp/pom.xml index 1dd820f9..9f0837e9 100644 --- a/mujina-idp/pom.xml +++ b/mujina-idp/pom.xml @@ -20,7 +20,7 @@ org.openconext mujina - 5.0.1 + 5.0.2 ../pom.xml diff --git a/mujina-idp/src/main/java/mujina/idp/SAMLMessageHandler.java b/mujina-idp/src/main/java/mujina/idp/SAMLMessageHandler.java index 98a7285e..37cd0f8f 100644 --- a/mujina-idp/src/main/java/mujina/idp/SAMLMessageHandler.java +++ b/mujina-idp/src/main/java/mujina/idp/SAMLMessageHandler.java @@ -80,7 +80,6 @@ public SAMLMessageContext extractSAMLMessageContext(HttpServletRequest request, proxiedSAMLContextProviderLB.populateGenericContext(request, response, messageContext); - messageContext.setInboundMessageTransport(new HttpServletRequestAdapter(request)); messageContext.setSecurityPolicyResolver(resolver); SAMLMessageDecoder samlMessageDecoder = samlMessageDecoder(postRequest); diff --git a/mujina-idp/src/main/java/mujina/idp/WebSecurityConfigurer.java b/mujina-idp/src/main/java/mujina/idp/WebSecurityConfigurer.java index 74ba2170..2a04a3fc 100644 --- a/mujina-idp/src/main/java/mujina/idp/WebSecurityConfigurer.java +++ b/mujina-idp/src/main/java/mujina/idp/WebSecurityConfigurer.java @@ -74,13 +74,6 @@ public SAMLMessageHandler samlMessageHandler(@Value("${idp.clock_skew}") int clo HTTPRedirectDeflateDecoder httpRedirectDeflateDecoder = new HTTPRedirectDeflateDecoder(parserPool); HTTPPostDecoder httpPostDecoder = new HTTPPostDecoder(parserPool); - if (environment.acceptsProfiles("test")) { - //Lenient URI comparision - URIComparator lenientURIComparator = (uri1, uri2) -> true; - httpRedirectDeflateDecoder.setURIComparator(lenientURIComparator); - httpPostDecoder.setURIComparator(lenientURIComparator); - } - parserPool.initialize(); HTTPPostSimpleSignEncoder httpPostSimpleSignEncoder = new HTTPPostSimpleSignEncoder(VelocityFactory.getEngine(), "/templates/saml2-post-simplesign-binding.vm", true); diff --git a/mujina-idp/src/test/java/mujina/idp/AuthenticationProviderTest.java b/mujina-idp/src/test/java/mujina/idp/AuthenticationProviderTest.java index ede1d527..5ae933be 100644 --- a/mujina-idp/src/test/java/mujina/idp/AuthenticationProviderTest.java +++ b/mujina-idp/src/test/java/mujina/idp/AuthenticationProviderTest.java @@ -13,7 +13,6 @@ import static org.hamcrest.core.StringContains.containsString; @TestPropertySource(properties = {"idp.expires:" + (Integer.MAX_VALUE / 2 - 1), "idp.clock_skew: " + (Integer.MAX_VALUE / 2 - 1)}) -@ActiveProfiles(profiles = "test") public class AuthenticationProviderTest extends AbstractIntegrationTest { @Test diff --git a/mujina-idp/src/test/java/mujina/idp/SsoControllerTest.java b/mujina-idp/src/test/java/mujina/idp/SsoControllerTest.java index c35f640d..85e65497 100644 --- a/mujina-idp/src/test/java/mujina/idp/SsoControllerTest.java +++ b/mujina-idp/src/test/java/mujina/idp/SsoControllerTest.java @@ -21,7 +21,6 @@ import static org.junit.Assert.assertTrue; @TestPropertySource(properties = {"idp.expires:" + (Integer.MAX_VALUE / 2 - 1), "idp.clock_skew: " + (Integer.MAX_VALUE / 2 - 1)}) -@ActiveProfiles(profiles = "test") public class SsoControllerTest extends AbstractIntegrationTest { private List params = Arrays.asList( diff --git a/mujina-idp/src/test/java/mujina/idp/UserControllerTest.java b/mujina-idp/src/test/java/mujina/idp/UserControllerTest.java index a21be7ca..233640be 100644 --- a/mujina-idp/src/test/java/mujina/idp/UserControllerTest.java +++ b/mujina-idp/src/test/java/mujina/idp/UserControllerTest.java @@ -12,7 +12,6 @@ import static org.hamcrest.core.StringContains.containsString; @TestPropertySource(properties = {"idp.expires:" + (Integer.MAX_VALUE / 2 - 1), "idp.clock_skew: " + (Integer.MAX_VALUE / 2 - 1)}) -@ActiveProfiles(profiles = "test") public class UserControllerTest extends AbstractIntegrationTest { @Test diff --git a/mujina-sp/pom.xml b/mujina-sp/pom.xml index 0f0d11f7..acad8bb9 100644 --- a/mujina-sp/pom.xml +++ b/mujina-sp/pom.xml @@ -20,7 +20,7 @@ org.openconext mujina - 5.0.1 + 5.0.2 ../pom.xml diff --git a/pom.xml b/pom.xml index a9cf749e..a8f32f5d 100644 --- a/pom.xml +++ b/pom.xml @@ -19,7 +19,7 @@ org.openconext mujina - 5.0.1 + 5.0.2 pom