]> source.dussan.org Git - sonarqube.git/commit
SONAR-8416 improve ITs on authentication
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Tue, 29 Nov 2016 09:35:34 +0000 (10:35 +0100)
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Wed, 14 Dec 2016 16:09:10 +0000 (17:09 +0100)
commite70058e93a5c570e836b9276f63441888907eaf1
tree0f9c3c763570e72dcfde36bb301c80893a5db835
parent5d01496570c512ac96c1503f3db68dad1ff2927c
SONAR-8416 improve ITs on authentication

Complete check on message displayed in ui when functional authentication errors are generated
Add ITs when errors are generated during callback of OAuth2 authentication plugins
13 files changed:
it/it-plugins/oauth2-auth-plugin/src/main/java/FakeOAuth2IdProvider.java
it/it-tests/src/test/java/it/user/BaseIdentityProviderTest.java
it/it-tests/src/test/java/it/user/OAuth2IdentityProviderTest.java
it/it-tests/src/test/resources/user/BaseIdentityProviderTest/diplay_message_in_ui_but_not_in_log_when_unauthorized_exception.html [deleted file]
it/it-tests/src/test/resources/user/BaseIdentityProviderTest/display_message_in_ui_but_not_in_log_when_unauthorized_exception.html [new file with mode: 0644]
it/it-tests/src/test/resources/user/BaseIdentityProviderTest/display_unauthorized_page_when_authentication_failed.html
it/it-tests/src/test/resources/user/BaseIdentityProviderTest/fail_to_authenticate_when_not_allowed_to_sign_up.html
it/it-tests/src/test/resources/user/BaseIdentityProviderTest/fail_when_email_already_exists.html [new file with mode: 0644]
it/it-tests/src/test/resources/user/OAuth2IdentityProviderTest/authenticate_user.html [new file with mode: 0644]
it/it-tests/src/test/resources/user/OAuth2IdentityProviderTest/display_message_in_ui_but_not_in_log_when_unauthorized_exception.html [new file with mode: 0644]
it/it-tests/src/test/resources/user/OAuth2IdentityProviderTest/display_unauthorized_page_when_authentication_failed.html [new file with mode: 0644]
it/it-tests/src/test/resources/user/OAuth2IdentityProviderTest/fail_to_authenticate_when_not_allowed_to_sign_up.html [new file with mode: 0644]
it/it-tests/src/test/resources/user/OAuth2IdentityProviderTest/fail_when_email_already_exists.html [new file with mode: 0644]