[java-identity-provider] 04/23: IDP-2314 - Context check example config has a bug

Scott Cantor cantor.2 at osu.edu
Mon Mar 17 15:03:43 UTC 2025


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

scantor pushed a commit to branch maint-5.1
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=c4e6d312133910729135bc5fc41f77cacd71e89c

commit c4e6d312133910729135bc5fc41f77cacd71e89c
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Aug 15 11:00:01 2024 -0400

    IDP-2314 - Context check example config has a bug
    
    https://shibboleth.atlassian.net/browse/IDP-2314
---
 .../idp/module/conf/intercept/context-check-intercept-config.xml        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/conf/intercept/context-check-intercept-config.xml b/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/conf/intercept/context-check-intercept-config.xml
index 60b794320..007eaa9b3 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/conf/intercept/context-check-intercept-config.xml
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/conf/intercept/context-check-intercept-config.xml
@@ -50,7 +50,7 @@
             <value>
             <![CDATA[
             var event = "proceed";
-            if (!custom.apply(input)) {
+            if (!custom.test(input)) {
                 event = "ContextCheckDenied";
             }
             event;

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


More information about the commits mailing list