[java-identity-provider COMMIT] /trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ExternalAuthenticat...

noreply at shibboleth.net noreply at shibboleth.net
Tue Jun 28 15:38:26 EDT 2016


Author: scantor
Date: Tue Jun 28 15:38:25 2016
New Revision: 8276

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=8276&view=rev
Log:
IDP-1003 - External authn fails when consent is revoked

https://issues.shibboleth.net/jira/browse/IDP-1003

Modified:
    trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ExternalAuthenticationImpl.java

Modified: trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ExternalAuthenticationImpl.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ExternalAuthenticationImpl.java?rev=8276&r1=8275&r2=8276&view=diff
==============================================================================
--- trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ExternalAuthenticationImpl.java	(original)
+++ trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ExternalAuthenticationImpl.java	Tue Jun 28 15:38:25 2016
@@ -180,9 +180,9 @@
             final ConsentManagementContext consentCtx =
                     getProfileRequestContext(request).getSubcontext(ConsentManagementContext.class, true);
             consentCtx.setRevokeConsent(true);
-        } else {
-            response.sendRedirect(extContext.getFlowExecutionUrl());
         }
+        
+        response.sendRedirect(extContext.getFlowExecutionUrl());
     }
 // Checkstyle: CyclomaticComplexity OFF
 



More information about the commits mailing list