[java-idp-plugin-webauthn] branch main updated: Fix consent revocation expression

Phil Smart philip.smart at jisc.ac.uk
Fri May 24 11:25:46 UTC 2024


This is an automated email from the git hooks/post-receive script.

philsmart pushed a commit to branch main
in repository java-idp-plugin-webauthn.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-webauthn.git;a=commit;h=df2d9e73407fe352cfa8276bf124dfe213d54238

The following commit(s) were added to refs/heads/main by this push:
     new df2d9e7  Fix consent revocation expression
df2d9e7 is described below

commit df2d9e73407fe352cfa8276bf124dfe213d54238
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Fri May 24 12:25:44 2024 +0100

    Fix consent revocation expression
---
 .../net/shibboleth/idp/flows/authn/WebAuthn/webauthn-flow.xml       | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/webauthn-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/authn/WebAuthn/webauthn-flow.xml b/webauthn-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/authn/WebAuthn/webauthn-flow.xml
index 510d089..63af39e 100644
--- a/webauthn-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/authn/WebAuthn/webauthn-flow.xml
+++ b/webauthn-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/authn/WebAuthn/webauthn-flow.xml
@@ -47,8 +47,10 @@
             <evaluate expression="flowRequestContext.getExternalContext().getNativeRequest()" result="viewScope.request" />
             <evaluate expression="flowRequestContext.getExternalContext().getNativeResponse()" result="viewScope.response" />
         </on-render>
-       <transition on="proceed" to="PasswordlessLoginExtractUsername" />
-       
+       <transition on="proceed" to="PasswordlessLoginExtractUsername" />       
+       <on-exit>
+            <evaluate expression="opensamlProfileRequestContext.addSubcontext(new net.shibboleth.idp.consent.context.ConsentManagementContext(), true).setRevokeConsent(requestParameters._shib_idp_revokeConsent == 'true')" />
+        </on-exit>       
     </view-state>
     
     <action-state id="PasswordlessLoginExtractUsername">

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list