[java-opensaml] branch maint-4 updated: IDP-2042 - Finalize deprecation of HttpServletXXX proxies

Scott Cantor cantor.2 at osu.edu
Wed Nov 30 16:03:50 UTC 2022


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

scantor pushed a commit to branch maint-4
in repository java-opensaml.

View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=9239603bc2113f179863dc5f7e4cd5be082fc94e

The following commit(s) were added to refs/heads/maint-4 by this push:
     new 9239603bc IDP-2042 - Finalize deprecation of HttpServletXXX proxies
9239603bc is described below

commit 9239603bc2113f179863dc5f7e4cd5be082fc94e
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Nov 30 11:03:47 2022 -0500

    IDP-2042 - Finalize deprecation of HttpServletXXX proxies
    
    https://shibboleth.atlassian.net/browse/IDP-2042
    
    Remove warning from action setters.
---
 .../java/org/opensaml/profile/action/AbstractProfileAction.java     | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/opensaml-profile-api/src/main/java/org/opensaml/profile/action/AbstractProfileAction.java b/opensaml-profile-api/src/main/java/org/opensaml/profile/action/AbstractProfileAction.java
index b3d7f35f2..07cf4ebfd 100644
--- a/opensaml-profile-api/src/main/java/org/opensaml/profile/action/AbstractProfileAction.java
+++ b/opensaml-profile-api/src/main/java/org/opensaml/profile/action/AbstractProfileAction.java
@@ -35,8 +35,6 @@ import net.shibboleth.utilities.java.support.component.AbstractInitializableComp
 import net.shibboleth.utilities.java.support.component.ComponentSupport;
 import net.shibboleth.utilities.java.support.net.ThreadLocalHttpServletRequestProxy;
 import net.shibboleth.utilities.java.support.net.ThreadLocalHttpServletResponseProxy;
-import net.shibboleth.utilities.java.support.primitive.DeprecationSupport;
-import net.shibboleth.utilities.java.support.primitive.DeprecationSupport.ObjectType;
 import net.shibboleth.utilities.java.support.primitive.NonnullSupplier;
 
 /**
@@ -88,8 +86,6 @@ public abstract class AbstractProfileAction extends AbstractInitializableCompone
     @Deprecated(since = "4.3", forRemoval = true)
     public void setHttpServletRequest(@Nullable final HttpServletRequest request) {
         ComponentSupport.ifInitializedThrowUnmodifiabledComponentException(this);
-        DeprecationSupport.warnOnce(ObjectType.METHOD, "setHttpServletReqest",
-                getLogPrefix(), "setHttpServletRequestSupplier");
         if (request != null && !(request instanceof ThreadLocalHttpServletRequestProxy)) {
             log.warn("Unsafe HttpServletRequest injected");
         }
@@ -141,8 +137,6 @@ public abstract class AbstractProfileAction extends AbstractInitializableCompone
     public void setHttpServletResponse(@Nullable final HttpServletResponse response) {
         ComponentSupport.ifInitializedThrowUnmodifiabledComponentException(this);
 
-        DeprecationSupport.warnOnce(ObjectType.METHOD, "setHttpServletResponse",
-                getLogPrefix(), "setHttpServletResponseSupplier");
         if (response != null && !(response instanceof ThreadLocalHttpServletResponseProxy)) {
             log.warn("Unsafe HttpServletRequest injected");
         }

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


More information about the commits mailing list