diff options
author | Simon Rettberg | 2019-09-20 13:10:16 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-09-20 13:10:16 +0200 |
commit | f270b9364035cd2c3312bf90cf8b007e2ed73adc (patch) | |
tree | 4f5af92fee7d23702fa2da998358b61d08e851a4 /dozentenmodul/src/main/java/org/openslx/dozmod/authentication/ShibbolethEcp.java | |
parent | [server] Fix: Don't use deprecated methods from FileUtils (diff) | |
download | tutor-module-f270b93.tar.gz tutor-module-f270b93.tar.xz tutor-module-f270b93.zip |
[client] Don't chop off @org suffix from user name
What was meant to help if users add their org to the username out of
habit actually breaks things in places where this is required. Instead
move this logic to the authenticator that would from now on chop off any
@org suffix if authentication with the verbatim username 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 | 1 |
1 files changed, 1 insertions, 0 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 071b92ad..1c6062b6 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/authentication/ShibbolethEcp.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/authentication/ShibbolethEcp.java @@ -132,6 +132,7 @@ public class ShibbolethEcp { // now init the authenticator for that idp and our static sp final ECPAuthenticator auth = new ECPAuthenticator(ProxyConfigurator.getClient(), user, pass, new URI(idpUrl), BWLP_SP); + auth.setRetryWithoutAt(true); HttpResponse spResponse; try { |