From 545f09ba0f871b1b0736dfe3eca68cc16e81fcc8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?L=C3=A9o=20Geoffroy?= Date: Wed, 15 Mar 2023 13:28:02 +0100 Subject: [PATCH] SONAR-18679 update its sonar auth --- .../org/sonar/auth/ldap/DefaultLdapAuthenticatorIT.java} | 2 +- .../org/sonar/auth/ldap/DefaultLdapGroupsProviderIT.java} | 2 +- .../org/sonar/auth/ldap/DefaultLdapUsersProviderIT.java} | 2 +- .../java/org/sonar/auth/ldap/KerberosIT.java} | 2 +- .../java/org/sonar/auth/ldap/LdapRealmIT.java} | 2 +- .../java/org/sonar/auth/ldap/LdapReferralsIT.java} | 2 +- .../java/org/sonar/auth/ldap/LdapSearchIT.java} | 2 +- .../java/org/sonar/auth/ldap/LdapSettingsFactory.java | 0 .../java/org/sonar/auth/ldap/server/LdapServer.java | 0 .../src/{test => it}/resources/conf/krb5.conf | 0 .../src/{test => it}/resources/conf/sasl_mech.properties | 0 server/sonar-auth-ldap/src/{test => it}/resources/krb.ldif | 0 .../{test => it}/resources/static-groups.example.org.ldif | 0 .../src/{test => it}/resources/users-apacheds.ldif | 0 .../src/{test => it}/resources/users.example.org.ldif | 0 .../src/{test => it}/resources/users.infosupport.com.ldif | 0 .../java/org/sonar/auth/saml/SamlIdentityProviderIT.java} | 7 ++++--- .../java/org/sonar/auth/saml/SamlMessageIdCheckerIT.java} | 2 +- .../SamlIdentityProviderIT}/encoded_encrypted_response.txt | 0 .../saml/SamlIdentityProviderIT}/encoded_full_response.txt | 0 .../encoded_full_response_with_reverse_proxy.txt | 0 .../SamlIdentityProviderIT}/encoded_minimal_response.txt | 0 .../encoded_response_without_login.txt | 0 .../encoded_response_without_name.txt | 0 .../how_to_generate_test_response.txt | 0 25 files changed, 12 insertions(+), 11 deletions(-) rename server/sonar-auth-ldap/src/{test/java/org/sonar/auth/ldap/DefaultLdapAuthenticatorTest.java => it/java/org/sonar/auth/ldap/DefaultLdapAuthenticatorIT.java} (99%) rename server/sonar-auth-ldap/src/{test/java/org/sonar/auth/ldap/DefaultLdapGroupsProviderTest.java => it/java/org/sonar/auth/ldap/DefaultLdapGroupsProviderIT.java} (99%) rename server/sonar-auth-ldap/src/{test/java/org/sonar/auth/ldap/DefaultLdapUsersProviderTest.java => it/java/org/sonar/auth/ldap/DefaultLdapUsersProviderIT.java} (99%) rename server/sonar-auth-ldap/src/{test/java/org/sonar/auth/ldap/KerberosTest.java => it/java/org/sonar/auth/ldap/KerberosIT.java} (99%) rename server/sonar-auth-ldap/src/{test/java/org/sonar/auth/ldap/LdapRealmTest.java => it/java/org/sonar/auth/ldap/LdapRealmIT.java} (99%) rename server/sonar-auth-ldap/src/{test/java/org/sonar/auth/ldap/LdapReferralsTest.java => it/java/org/sonar/auth/ldap/LdapReferralsIT.java} (98%) rename server/sonar-auth-ldap/src/{test/java/org/sonar/auth/ldap/LdapSearchTest.java => it/java/org/sonar/auth/ldap/LdapSearchIT.java} (99%) rename server/sonar-auth-ldap/src/{test => it}/java/org/sonar/auth/ldap/LdapSettingsFactory.java (100%) rename server/sonar-auth-ldap/src/{test => it}/java/org/sonar/auth/ldap/server/LdapServer.java (100%) rename server/sonar-auth-ldap/src/{test => it}/resources/conf/krb5.conf (100%) rename server/sonar-auth-ldap/src/{test => it}/resources/conf/sasl_mech.properties (100%) rename server/sonar-auth-ldap/src/{test => it}/resources/krb.ldif (100%) rename server/sonar-auth-ldap/src/{test => it}/resources/static-groups.example.org.ldif (100%) rename server/sonar-auth-ldap/src/{test => it}/resources/users-apacheds.ldif (100%) rename server/sonar-auth-ldap/src/{test => it}/resources/users.example.org.ldif (100%) rename server/sonar-auth-ldap/src/{test => it}/resources/users.infosupport.com.ldif (100%) rename server/sonar-auth-saml/src/{test/java/org/sonar/auth/saml/SamlIdentityProviderTest.java => it/java/org/sonar/auth/saml/SamlIdentityProviderIT.java} (99%) rename server/sonar-auth-saml/src/{test/java/org/sonar/auth/saml/SamlMessageIdCheckerTest.java => it/java/org/sonar/auth/saml/SamlMessageIdCheckerIT.java} (98%) rename server/sonar-auth-saml/src/{test/resources/org/sonar/auth/saml/SamlIdentityProviderTest => it/resources/org/sonar/auth/saml/SamlIdentityProviderIT}/encoded_encrypted_response.txt (100%) rename server/sonar-auth-saml/src/{test/resources/org/sonar/auth/saml/SamlIdentityProviderTest => it/resources/org/sonar/auth/saml/SamlIdentityProviderIT}/encoded_full_response.txt (100%) rename server/sonar-auth-saml/src/{test/resources/org/sonar/auth/saml/SamlIdentityProviderTest => it/resources/org/sonar/auth/saml/SamlIdentityProviderIT}/encoded_full_response_with_reverse_proxy.txt (100%) rename server/sonar-auth-saml/src/{test/resources/org/sonar/auth/saml/SamlIdentityProviderTest => it/resources/org/sonar/auth/saml/SamlIdentityProviderIT}/encoded_minimal_response.txt (100%) rename server/sonar-auth-saml/src/{test/resources/org/sonar/auth/saml/SamlIdentityProviderTest => it/resources/org/sonar/auth/saml/SamlIdentityProviderIT}/encoded_response_without_login.txt (100%) rename server/sonar-auth-saml/src/{test/resources/org/sonar/auth/saml/SamlIdentityProviderTest => it/resources/org/sonar/auth/saml/SamlIdentityProviderIT}/encoded_response_without_name.txt (100%) rename server/sonar-auth-saml/src/{test/resources/org/sonar/auth/saml/SamlIdentityProviderTest => it/resources/org/sonar/auth/saml/SamlIdentityProviderIT}/how_to_generate_test_response.txt (100%) diff --git a/server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/DefaultLdapAuthenticatorTest.java b/server/sonar-auth-ldap/src/it/java/org/sonar/auth/ldap/DefaultLdapAuthenticatorIT.java similarity index 99% rename from server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/DefaultLdapAuthenticatorTest.java rename to server/sonar-auth-ldap/src/it/java/org/sonar/auth/ldap/DefaultLdapAuthenticatorIT.java index d053ec5d1bd..1f3ee94fc24 100644 --- a/server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/DefaultLdapAuthenticatorTest.java +++ b/server/sonar-auth-ldap/src/it/java/org/sonar/auth/ldap/DefaultLdapAuthenticatorIT.java @@ -27,7 +27,7 @@ import org.sonar.auth.ldap.server.LdapServer; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.mock; -public class DefaultLdapAuthenticatorTest { +public class DefaultLdapAuthenticatorIT { /** * A reference to the original ldif file diff --git a/server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/DefaultLdapGroupsProviderTest.java b/server/sonar-auth-ldap/src/it/java/org/sonar/auth/ldap/DefaultLdapGroupsProviderIT.java similarity index 99% rename from server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/DefaultLdapGroupsProviderTest.java rename to server/sonar-auth-ldap/src/it/java/org/sonar/auth/ldap/DefaultLdapGroupsProviderIT.java index 162ca5bad29..0534682719a 100644 --- a/server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/DefaultLdapGroupsProviderTest.java +++ b/server/sonar-auth-ldap/src/it/java/org/sonar/auth/ldap/DefaultLdapGroupsProviderIT.java @@ -29,7 +29,7 @@ import org.sonar.auth.ldap.server.LdapServer; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.mock; -public class DefaultLdapGroupsProviderTest { +public class DefaultLdapGroupsProviderIT { /** * A reference to the original ldif file diff --git a/server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/DefaultLdapUsersProviderTest.java b/server/sonar-auth-ldap/src/it/java/org/sonar/auth/ldap/DefaultLdapUsersProviderIT.java similarity index 99% rename from server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/DefaultLdapUsersProviderTest.java rename to server/sonar-auth-ldap/src/it/java/org/sonar/auth/ldap/DefaultLdapUsersProviderIT.java index 1218cee0cf4..ea6894e7e80 100644 --- a/server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/DefaultLdapUsersProviderTest.java +++ b/server/sonar-auth-ldap/src/it/java/org/sonar/auth/ldap/DefaultLdapUsersProviderIT.java @@ -28,7 +28,7 @@ import org.sonar.auth.ldap.server.LdapServer; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.mock; -public class DefaultLdapUsersProviderTest { +public class DefaultLdapUsersProviderIT { /** * A reference to the original ldif file */ diff --git a/server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/KerberosTest.java b/server/sonar-auth-ldap/src/it/java/org/sonar/auth/ldap/KerberosIT.java similarity index 99% rename from server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/KerberosTest.java rename to server/sonar-auth-ldap/src/it/java/org/sonar/auth/ldap/KerberosIT.java index 73f9f73a3cb..08f1dfc5714 100644 --- a/server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/KerberosTest.java +++ b/server/sonar-auth-ldap/src/it/java/org/sonar/auth/ldap/KerberosIT.java @@ -33,7 +33,7 @@ import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.sonar.process.ProcessProperties.Property.SONAR_SECURITY_REALM; -public class KerberosTest { +public class KerberosIT { static { System.setProperty("java.security.krb5.conf", new File("target/krb5.conf").getAbsolutePath()); diff --git a/server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/LdapRealmTest.java b/server/sonar-auth-ldap/src/it/java/org/sonar/auth/ldap/LdapRealmIT.java similarity index 99% rename from server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/LdapRealmTest.java rename to server/sonar-auth-ldap/src/it/java/org/sonar/auth/ldap/LdapRealmIT.java index 6996f610d30..4075ca0311d 100644 --- a/server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/LdapRealmTest.java +++ b/server/sonar-auth-ldap/src/it/java/org/sonar/auth/ldap/LdapRealmIT.java @@ -32,7 +32,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.sonar.process.ProcessProperties.Property.SONAR_AUTHENTICATOR_IGNORE_STARTUP_FAILURE; import static org.sonar.process.ProcessProperties.Property.SONAR_SECURITY_REALM; -public class LdapRealmTest { +public class LdapRealmIT { @ClassRule public static LdapServer server = new LdapServer("/users.example.org.ldif"); diff --git a/server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/LdapReferralsTest.java b/server/sonar-auth-ldap/src/it/java/org/sonar/auth/ldap/LdapReferralsIT.java similarity index 98% rename from server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/LdapReferralsTest.java rename to server/sonar-auth-ldap/src/it/java/org/sonar/auth/ldap/LdapReferralsIT.java index b8362795410..39afbda59b2 100644 --- a/server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/LdapReferralsTest.java +++ b/server/sonar-auth-ldap/src/it/java/org/sonar/auth/ldap/LdapReferralsIT.java @@ -28,7 +28,7 @@ import org.sonar.auth.ldap.server.LdapServer; import static org.assertj.core.api.Assertions.assertThat; -public class LdapReferralsTest { +public class LdapReferralsIT { @ClassRule public static LdapServer server = new LdapServer("/users.example.org.ldif"); diff --git a/server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/LdapSearchTest.java b/server/sonar-auth-ldap/src/it/java/org/sonar/auth/ldap/LdapSearchIT.java similarity index 99% rename from server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/LdapSearchTest.java rename to server/sonar-auth-ldap/src/it/java/org/sonar/auth/ldap/LdapSearchIT.java index 87f76af9357..44d3d2ff635 100644 --- a/server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/LdapSearchTest.java +++ b/server/sonar-auth-ldap/src/it/java/org/sonar/auth/ldap/LdapSearchIT.java @@ -33,7 +33,7 @@ import org.sonar.auth.ldap.server.LdapServer; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; -public class LdapSearchTest { +public class LdapSearchIT { @ClassRule public static LdapServer server = new LdapServer("/users.example.org.ldif"); diff --git a/server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/LdapSettingsFactory.java b/server/sonar-auth-ldap/src/it/java/org/sonar/auth/ldap/LdapSettingsFactory.java similarity index 100% rename from server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/LdapSettingsFactory.java rename to server/sonar-auth-ldap/src/it/java/org/sonar/auth/ldap/LdapSettingsFactory.java diff --git a/server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/server/LdapServer.java b/server/sonar-auth-ldap/src/it/java/org/sonar/auth/ldap/server/LdapServer.java similarity index 100% rename from server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/server/LdapServer.java rename to server/sonar-auth-ldap/src/it/java/org/sonar/auth/ldap/server/LdapServer.java diff --git a/server/sonar-auth-ldap/src/test/resources/conf/krb5.conf b/server/sonar-auth-ldap/src/it/resources/conf/krb5.conf similarity index 100% rename from server/sonar-auth-ldap/src/test/resources/conf/krb5.conf rename to server/sonar-auth-ldap/src/it/resources/conf/krb5.conf diff --git a/server/sonar-auth-ldap/src/test/resources/conf/sasl_mech.properties b/server/sonar-auth-ldap/src/it/resources/conf/sasl_mech.properties similarity index 100% rename from server/sonar-auth-ldap/src/test/resources/conf/sasl_mech.properties rename to server/sonar-auth-ldap/src/it/resources/conf/sasl_mech.properties diff --git a/server/sonar-auth-ldap/src/test/resources/krb.ldif b/server/sonar-auth-ldap/src/it/resources/krb.ldif similarity index 100% rename from server/sonar-auth-ldap/src/test/resources/krb.ldif rename to server/sonar-auth-ldap/src/it/resources/krb.ldif diff --git a/server/sonar-auth-ldap/src/test/resources/static-groups.example.org.ldif b/server/sonar-auth-ldap/src/it/resources/static-groups.example.org.ldif similarity index 100% rename from server/sonar-auth-ldap/src/test/resources/static-groups.example.org.ldif rename to server/sonar-auth-ldap/src/it/resources/static-groups.example.org.ldif diff --git a/server/sonar-auth-ldap/src/test/resources/users-apacheds.ldif b/server/sonar-auth-ldap/src/it/resources/users-apacheds.ldif similarity index 100% rename from server/sonar-auth-ldap/src/test/resources/users-apacheds.ldif rename to server/sonar-auth-ldap/src/it/resources/users-apacheds.ldif diff --git a/server/sonar-auth-ldap/src/test/resources/users.example.org.ldif b/server/sonar-auth-ldap/src/it/resources/users.example.org.ldif similarity index 100% rename from server/sonar-auth-ldap/src/test/resources/users.example.org.ldif rename to server/sonar-auth-ldap/src/it/resources/users.example.org.ldif diff --git a/server/sonar-auth-ldap/src/test/resources/users.infosupport.com.ldif b/server/sonar-auth-ldap/src/it/resources/users.infosupport.com.ldif similarity index 100% rename from server/sonar-auth-ldap/src/test/resources/users.infosupport.com.ldif rename to server/sonar-auth-ldap/src/it/resources/users.infosupport.com.ldif diff --git a/server/sonar-auth-saml/src/test/java/org/sonar/auth/saml/SamlIdentityProviderTest.java b/server/sonar-auth-saml/src/it/java/org/sonar/auth/saml/SamlIdentityProviderIT.java similarity index 99% rename from server/sonar-auth-saml/src/test/java/org/sonar/auth/saml/SamlIdentityProviderTest.java rename to server/sonar-auth-saml/src/it/java/org/sonar/auth/saml/SamlIdentityProviderIT.java index 00add6efabf..f598d9c9969 100644 --- a/server/sonar-auth-saml/src/test/java/org/sonar/auth/saml/SamlIdentityProviderTest.java +++ b/server/sonar-auth-saml/src/it/java/org/sonar/auth/saml/SamlIdentityProviderIT.java @@ -51,7 +51,7 @@ import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import static org.sonar.api.utils.log.LoggerLevel.ERROR; -public class SamlIdentityProviderTest { +public class SamlIdentityProviderIT { private static final String SQ_CALLBACK_URL = "http://localhost:9000/oauth2/callback/saml"; /* IDP private key (keep here for future tests with signature) @@ -391,12 +391,13 @@ public class SamlIdentityProviderTest { this.response = response; this.expectedCallbackUrl = expectedCallbackUrl; Map parameterMap = new HashMap<>(); - parameterMap.put("SAMLResponse", new String[] {loadResponse(encodedResponseFile)}); + parameterMap.put("SAMLResponse", new String[]{loadResponse(encodedResponseFile)}); when(getRequest().getParameterMap()).thenReturn(parameterMap); } + private String loadResponse(String file) { - try (InputStream json = getClass().getResourceAsStream("SamlIdentityProviderTest/" + file)) { + try (InputStream json = getClass().getResourceAsStream(SamlIdentityProviderIT.class.getSimpleName() + "/" + file)) { return IOUtils.toString(json, StandardCharsets.UTF_8); } catch (IOException e) { throw new IllegalStateException(e); diff --git a/server/sonar-auth-saml/src/test/java/org/sonar/auth/saml/SamlMessageIdCheckerTest.java b/server/sonar-auth-saml/src/it/java/org/sonar/auth/saml/SamlMessageIdCheckerIT.java similarity index 98% rename from server/sonar-auth-saml/src/test/java/org/sonar/auth/saml/SamlMessageIdCheckerTest.java rename to server/sonar-auth-saml/src/it/java/org/sonar/auth/saml/SamlMessageIdCheckerIT.java index 613715ea9d0..517269fe80a 100644 --- a/server/sonar-auth-saml/src/test/java/org/sonar/auth/saml/SamlMessageIdCheckerTest.java +++ b/server/sonar-auth-saml/src/it/java/org/sonar/auth/saml/SamlMessageIdCheckerIT.java @@ -35,7 +35,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -public class SamlMessageIdCheckerTest { +public class SamlMessageIdCheckerIT { @Rule public DbTester db = DbTester.create(); diff --git a/server/sonar-auth-saml/src/test/resources/org/sonar/auth/saml/SamlIdentityProviderTest/encoded_encrypted_response.txt b/server/sonar-auth-saml/src/it/resources/org/sonar/auth/saml/SamlIdentityProviderIT/encoded_encrypted_response.txt similarity index 100% rename from server/sonar-auth-saml/src/test/resources/org/sonar/auth/saml/SamlIdentityProviderTest/encoded_encrypted_response.txt rename to server/sonar-auth-saml/src/it/resources/org/sonar/auth/saml/SamlIdentityProviderIT/encoded_encrypted_response.txt diff --git a/server/sonar-auth-saml/src/test/resources/org/sonar/auth/saml/SamlIdentityProviderTest/encoded_full_response.txt b/server/sonar-auth-saml/src/it/resources/org/sonar/auth/saml/SamlIdentityProviderIT/encoded_full_response.txt similarity index 100% rename from server/sonar-auth-saml/src/test/resources/org/sonar/auth/saml/SamlIdentityProviderTest/encoded_full_response.txt rename to server/sonar-auth-saml/src/it/resources/org/sonar/auth/saml/SamlIdentityProviderIT/encoded_full_response.txt diff --git a/server/sonar-auth-saml/src/test/resources/org/sonar/auth/saml/SamlIdentityProviderTest/encoded_full_response_with_reverse_proxy.txt b/server/sonar-auth-saml/src/it/resources/org/sonar/auth/saml/SamlIdentityProviderIT/encoded_full_response_with_reverse_proxy.txt similarity index 100% rename from server/sonar-auth-saml/src/test/resources/org/sonar/auth/saml/SamlIdentityProviderTest/encoded_full_response_with_reverse_proxy.txt rename to server/sonar-auth-saml/src/it/resources/org/sonar/auth/saml/SamlIdentityProviderIT/encoded_full_response_with_reverse_proxy.txt diff --git a/server/sonar-auth-saml/src/test/resources/org/sonar/auth/saml/SamlIdentityProviderTest/encoded_minimal_response.txt b/server/sonar-auth-saml/src/it/resources/org/sonar/auth/saml/SamlIdentityProviderIT/encoded_minimal_response.txt similarity index 100% rename from server/sonar-auth-saml/src/test/resources/org/sonar/auth/saml/SamlIdentityProviderTest/encoded_minimal_response.txt rename to server/sonar-auth-saml/src/it/resources/org/sonar/auth/saml/SamlIdentityProviderIT/encoded_minimal_response.txt diff --git a/server/sonar-auth-saml/src/test/resources/org/sonar/auth/saml/SamlIdentityProviderTest/encoded_response_without_login.txt b/server/sonar-auth-saml/src/it/resources/org/sonar/auth/saml/SamlIdentityProviderIT/encoded_response_without_login.txt similarity index 100% rename from server/sonar-auth-saml/src/test/resources/org/sonar/auth/saml/SamlIdentityProviderTest/encoded_response_without_login.txt rename to server/sonar-auth-saml/src/it/resources/org/sonar/auth/saml/SamlIdentityProviderIT/encoded_response_without_login.txt diff --git a/server/sonar-auth-saml/src/test/resources/org/sonar/auth/saml/SamlIdentityProviderTest/encoded_response_without_name.txt b/server/sonar-auth-saml/src/it/resources/org/sonar/auth/saml/SamlIdentityProviderIT/encoded_response_without_name.txt similarity index 100% rename from server/sonar-auth-saml/src/test/resources/org/sonar/auth/saml/SamlIdentityProviderTest/encoded_response_without_name.txt rename to server/sonar-auth-saml/src/it/resources/org/sonar/auth/saml/SamlIdentityProviderIT/encoded_response_without_name.txt diff --git a/server/sonar-auth-saml/src/test/resources/org/sonar/auth/saml/SamlIdentityProviderTest/how_to_generate_test_response.txt b/server/sonar-auth-saml/src/it/resources/org/sonar/auth/saml/SamlIdentityProviderIT/how_to_generate_test_response.txt similarity index 100% rename from server/sonar-auth-saml/src/test/resources/org/sonar/auth/saml/SamlIdentityProviderTest/how_to_generate_test_response.txt rename to server/sonar-auth-saml/src/it/resources/org/sonar/auth/saml/SamlIdentityProviderIT/how_to_generate_test_response.txt -- 2.39.5