diff options
author | Simon Rettberg | 2016-10-07 15:00:20 +0200 |
---|---|---|
committer | Simon Rettberg | 2016-10-07 15:00:20 +0200 |
commit | d0fc3ef322fa2a34b4c60123634436864d454ad5 (patch) | |
tree | 696764564056c4f69c11fc5461371ddbd8d4e8f7 /dozentenmodul/src/main/java/org/openslx/dozmod/authentication/ShibbolethEcp.java | |
parent | [client] Call .applySettingsForLocalEdit() after downloading a VM (diff) | |
download | tutor-module-d0fc3ef322fa2a34b4c60123634436864d454ad5.tar.gz tutor-module-d0fc3ef322fa2a34b4c60123634436864d454ad5.tar.xz tutor-module-d0fc3ef322fa2a34b4c60123634436864d454ad5.zip |
[client] Better error messages if ECP login fails
Diffstat (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod/authentication/ShibbolethEcp.java')
-rw-r--r-- | dozentenmodul/src/main/java/org/openslx/dozmod/authentication/ShibbolethEcp.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/authentication/ShibbolethEcp.java b/dozentenmodul/src/main/java/org/openslx/dozmod/authentication/ShibbolethEcp.java index bf1405bb..dc2215c1 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/authentication/ShibbolethEcp.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/authentication/ShibbolethEcp.java @@ -165,7 +165,8 @@ public class ShibbolethEcp { return ReturnCode.GENERIC_ERROR; } if (lastResponse.status.equals("anonymous")) { - LOGGER.error("IdP did not forward user account information to SP. Contact developper."); + LOGGER.error("IdP did not forward user account information to SP. Contact developer."); + lastResponse.error = "Ihr Identity-Provider hat dem bwLehrpool-System Ihre E-Mail oder Ihren Namen nicht mitgeteilt"; return ReturnCode.GENERIC_ERROR; } if (lastResponse.status.equals("ok")) { |