]> source.dussan.org Git - sonarqube.git/commit
SONAR-7444 Provide an UnauthorizedException to display functional error
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Mon, 14 Mar 2016 10:54:57 +0000 (11:54 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Wed, 16 Mar 2016 10:06:14 +0000 (11:06 +0100)
commitab9805fd7b22aa2c488d59d38d8f0cf707e7763d
tree31538745192817c6c7f61a0c6c82f4d5698d8225
parentf29df5da27030596d7d3ef07b4e833bb664cb940
SONAR-7444 Provide an UnauthorizedException to display functional error
15 files changed:
it/it-plugins/base-auth-plugin/src/main/java/FakeBaseIdProvider.java
it/it-tests/src/test/java/it/user/BaseIdentityProviderTest.java
it/it-tests/src/test/resources/user/BaseIdentityProviderTest/diplay_message_in_ui_but_not_in_log_when_unauthorized_exception.html [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/authentication/AuthenticationError.java
server/sonar-server/src/main/java/org/sonar/server/authentication/InitFilter.java
server/sonar-server/src/main/java/org/sonar/server/authentication/OAuth2CallbackFilter.java
server/sonar-server/src/main/java/org/sonar/server/authentication/UserIdentityAuthenticator.java
server/sonar-server/src/test/java/org/sonar/server/authentication/InitFilterTest.java
server/sonar-server/src/test/java/org/sonar/server/authentication/OAuth2CallbackFilterTest.java
server/sonar-server/src/test/java/org/sonar/server/authentication/UserIdentityAuthenticatorTest.java
server/sonar-web/src/main/webapp/WEB-INF/app/controllers/sessions_controller.rb
server/sonar-web/src/main/webapp/WEB-INF/app/views/sessions/email_already_exists.erb [deleted file]
server/sonar-web/src/main/webapp/WEB-INF/app/views/sessions/not_allowed_to_sign_up.html.erb [deleted file]
server/sonar-web/src/main/webapp/WEB-INF/app/views/sessions/unauthorized.html.erb
sonar-plugin-api/src/main/java/org/sonar/api/server/authentication/UnauthorizedException.java [new file with mode: 0644]