[java-plugin-shibd] 01/02: Remove unused action.

Scott Cantor cantor.2 at osu.edu
Fri Apr 11 15:50:19 UTC 2025


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

scantor pushed a commit to branch main
in repository java-plugin-shibd.

View the commit online:
http://git.shibboleth.net/view/?p=java-plugin-shibd.git;a=commit;h=366f004c424ec4f419ec3217d5461b7ceb68274c

commit 366f004c424ec4f419ec3217d5461b7ceb68274c
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Apr 10 15:00:44 2025 -0400

    Remove unused action.
---
 .../profile/impl/ValidateHttpServletRequest.java   | 46 ----------------------
 1 file changed, 46 deletions(-)

diff --git a/sp-server-impl/src/main/java/net/shibboleth/sp/profile/impl/ValidateHttpServletRequest.java b/sp-server-impl/src/main/java/net/shibboleth/sp/profile/impl/ValidateHttpServletRequest.java
deleted file mode 100644
index 994c30e..0000000
--- a/sp-server-impl/src/main/java/net/shibboleth/sp/profile/impl/ValidateHttpServletRequest.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package net.shibboleth.sp.profile.impl;
-
-import javax.annotation.Nonnull;
-
-import org.opensaml.profile.context.ProfileRequestContext;
-
-import net.shibboleth.sp.context.AgentRequestContext;
-import net.shibboleth.sp.messaging.RemotedHttpServletRequest;
-import net.shibboleth.sp.messaging.RemotedHttpServletRequestResponseContext;
-
-/**
- * Subclass of OpenSAML {@link ValidateHttpServletRequest} action that wraps the execute step to
- * stash off the {@link RemotedHttpServletRequest} from the {@link AgentRequestContext}.
- */
-public class ValidateHttpServletRequest extends org.opensaml.profile.action.impl.ValidateHttpServletRequest {
-    
-    /** {@inheritDoc} */
-    @Override
-    protected void doExecute(@Nonnull final ProfileRequestContext profileRequestContext) {
-        final AgentRequestContext agentRequestContext =
-                profileRequestContext.ensureSubcontext(AgentRequestContext.class);
-        
-        try {
-            RemotedHttpServletRequestResponseContext.loadCurrent(agentRequestContext.getRemotedHttpServletRequest(),
-                    agentRequestContext.getRemotedHttpServletResponse());
-            super.doExecute(profileRequestContext);
-        } finally {
-            RemotedHttpServletRequestResponseContext.clearCurrent();
-        }
-    }
-
-}
\ No newline at end of file

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


More information about the commits mailing list