[java-idp-plugin-duo] 15/15: Remove controller test statements
Phil Smart
philip.smart at jisc.ac.uk
Tue Jul 14 14:29:11 UTC 2020
This is an automated email from the git hooks/post-receive script.
philsmart pushed a commit to branch master
in repository java-idp-plugin-duo.
View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-duo.git;a=commit;h=1d97e09b56231c9627c6a048fcf0ab6651e855b8
commit 1d97e09b56231c9627c6a048fcf0ab6651e855b8
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Tue Jul 14 15:05:30 2020 +0100
Remove controller test statements
---
.../shibboleth/idp/plugin/authn/duo/impl/DuoOIDCAuthnController.java | 2 --
1 file changed, 2 deletions(-)
diff --git a/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/DuoOIDCAuthnController.java b/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/DuoOIDCAuthnController.java
index 6c96c58..2ee017c 100644
--- a/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/DuoOIDCAuthnController.java
+++ b/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/DuoOIDCAuthnController.java
@@ -155,9 +155,7 @@ public class DuoOIDCAuthnController extends AbstractInitializableComponent{
final String state = DuoSupport.generateState(32);
duoContext.setRequestState(state);
final String authURL = client.createAuthUrl(duoContext.getUsername(), state);
- if (!duoContext.getUsername().equals("jdoe")) {
httpResponse.sendRedirect(authURL);
- }
} catch (final DuoRegistryException | DuoClientException e) {
httpRequest.setAttribute(ExternalAuthentication.AUTHENTICATION_EXCEPTION_KEY, e);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list