[java-identity-provider] branch main updated: Wrong component check method in body of code.

Scott Cantor cantor.2 at osu.edu
Fri Jul 21 16:45:30 UTC 2023


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

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

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

The following commit(s) were added to refs/heads/main by this push:
     new 2b502bec4 Wrong component check method in body of code.
2b502bec4 is described below

commit 2b502bec4a614e40e599d73548f9541eb9e42f01
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Jul 21 12:45:27 2023 -0400

    Wrong component check method in body of code.
---
 .../shibboleth/idp/authn/context/impl/SubjectScriptContextExtender.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/context/impl/SubjectScriptContextExtender.java b/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/context/impl/SubjectScriptContextExtender.java
index f369e01c3..0b0899afa 100644
--- a/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/context/impl/SubjectScriptContextExtender.java
+++ b/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/context/impl/SubjectScriptContextExtender.java
@@ -67,7 +67,7 @@ public class SubjectScriptContextExtender extends AbstractInitializableComponent
     
     /** {@inheritDoc} */
     public void extendContext(@Nonnull final ScriptContext scriptContext) {
-        checkSetterPreconditions();
+        checkComponentActive();
         final ProfileRequestContext prc = (ProfileRequestContext) scriptContext.getAttribute("profileContext");
         
         final SubjectContext sc = subjectContextLookupStrategy.apply(prc);

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


More information about the commits mailing list