[java-shib-attribute] branch main updated: Roll back changes to Scripted plugins.

Scott Cantor cantor.2 at osu.edu
Thu Jun 23 12:40:54 UTC 2022


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

scantor pushed a commit to branch main
in repository java-shib-attribute.

View the commit online:
http://git.shibboleth.net/view/?p=java-shib-attribute.git;a=commit;h=24c883519e43a3f9cfa86c172ded59d402d09585

The following commit(s) were added to refs/heads/main by this push:
     new 24c883519 Roll back changes to Scripted plugins.
24c883519 is described below

commit 24c883519e43a3f9cfa86c172ded59d402d09585
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Jun 23 08:40:51 2022 -0400

    Roll back changes to Scripted plugins.
---
 .../idp/attribute/filter/matcher/impl/ScriptedMatcher.java       | 8 --------
 .../idp/attribute/filter/policyrule/impl/ScriptedPolicyRule.java | 9 ---------
 2 files changed, 17 deletions(-)

diff --git a/shib-attribute-filter-impl/src/main/java/net/shibboleth/idp/attribute/filter/matcher/impl/ScriptedMatcher.java b/shib-attribute-filter-impl/src/main/java/net/shibboleth/idp/attribute/filter/matcher/impl/ScriptedMatcher.java
index 146250f67..4d0c1ccf9 100644
--- a/shib-attribute-filter-impl/src/main/java/net/shibboleth/idp/attribute/filter/matcher/impl/ScriptedMatcher.java
+++ b/shib-attribute-filter-impl/src/main/java/net/shibboleth/idp/attribute/filter/matcher/impl/ScriptedMatcher.java
@@ -128,14 +128,6 @@ public class ScriptedMatcher extends AbstractIdentifiableInitializableComponent
         
         final StringBuilder builder = new StringBuilder("Scripted Attribute Filter '").append(getId()).append("':");
         scriptEvaluator.setLogPrefix(builder.toString());
-        scriptEvaluator.initialize();
-    }
-    
-    /** {@inheritDoc} */
-    @Override
-    protected void doDestroy() {
-        scriptEvaluator.destroy();
-        super.doDestroy();
     }
 
     /**
diff --git a/shib-attribute-filter-impl/src/main/java/net/shibboleth/idp/attribute/filter/policyrule/impl/ScriptedPolicyRule.java b/shib-attribute-filter-impl/src/main/java/net/shibboleth/idp/attribute/filter/policyrule/impl/ScriptedPolicyRule.java
index 45c53c400..87a0c8cfc 100644
--- a/shib-attribute-filter-impl/src/main/java/net/shibboleth/idp/attribute/filter/policyrule/impl/ScriptedPolicyRule.java
+++ b/shib-attribute-filter-impl/src/main/java/net/shibboleth/idp/attribute/filter/policyrule/impl/ScriptedPolicyRule.java
@@ -144,15 +144,6 @@ public class ScriptedPolicyRule extends AbstractIdentifiableInitializableCompone
         
         final StringBuilder builder = new StringBuilder("Scripted Attribute Filter '").append(getId()).append("':");
         scriptEvaluator.setLogPrefix(builder.toString());
-        
-        scriptEvaluator.initialize();
-    }
-    
-    /** {@inheritDoc} */
-    @Override
-    protected void doDestroy() {
-        scriptEvaluator.destroy();
-        super.doDestroy();
     }
 
     /** {@inheritDoc} */

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


More information about the commits mailing list