This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/main by this push:
     new dc48cf06eaa Removing HTTPSPStateManager from 4.2.x as it appears not 
to be used (#3098)
dc48cf06eaa is described below

commit dc48cf06eaaca1bb1ca7b58987f127e7f09f2c61
Author: Colm O hEigeartaigh <[email protected]>
AuthorDate: Mon May 11 16:27:18 2026 +0100

    Removing HTTPSPStateManager from 4.2.x as it appears not to be used (#3098)
---
 .../saml/sso/state/HTTPSPStateManager.java         | 82 ----------------------
 1 file changed, 82 deletions(-)

diff --git 
a/rt/rs/security/sso/saml/src/main/java/org/apache/cxf/rs/security/saml/sso/state/HTTPSPStateManager.java
 
b/rt/rs/security/sso/saml/src/main/java/org/apache/cxf/rs/security/saml/sso/state/HTTPSPStateManager.java
deleted file mode 100644
index 0979fa81158..00000000000
--- 
a/rt/rs/security/sso/saml/src/main/java/org/apache/cxf/rs/security/saml/sso/state/HTTPSPStateManager.java
+++ /dev/null
@@ -1,82 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you 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 org.apache.cxf.rs.security.saml.sso.state;
-
-import java.io.IOException;
-
-import jakarta.ws.rs.Consumes;
-import jakarta.ws.rs.DELETE;
-import jakarta.ws.rs.Encoded;
-import jakarta.ws.rs.GET;
-import jakarta.ws.rs.POST;
-import jakarta.ws.rs.Path;
-import jakarta.ws.rs.PathParam;
-import jakarta.ws.rs.Produces;
-
-@Path("state")
-public class HTTPSPStateManager implements SPStateManager {
-    private SPStateManager manager = new MemorySPStateManager();
-
-    public void setStateProvider(SPStateManager stateManager) {
-        this.manager = stateManager;
-    }
-
-    @POST
-    @Path("/request/{relayState}")
-    @Consumes("application/xml")
-    public void setRequestState(@Encoded @PathParam("relayState") String 
relayState,
-                                RequestState state) {
-        manager.setRequestState(relayState, state);
-    }
-
-    @DELETE
-    @Path("/request/{relayState}")
-    @Produces("application/xml")
-    public RequestState removeRequestState(@Encoded @PathParam("relayState") 
String relayState) {
-        return manager.removeRequestState(relayState);
-    }
-
-    @POST
-    @Path("/response/{contextKey}")
-    @Consumes("application/xml")
-    public void setResponseState(@Encoded @PathParam("contextKey") String 
contextKey,
-                                 ResponseState state) {
-        manager.setResponseState(contextKey, state);
-
-    }
-
-    @GET
-    @Path("/response/{contextKey}")
-    @Produces("application/xml")
-    public ResponseState getResponseState(@Encoded @PathParam("contextKey") 
String contextKey) {
-        return manager.getResponseState(contextKey);
-    }
-
-    @DELETE
-    @Path("/response/{contextKey}")
-    @Produces("application/xml")
-    public ResponseState removeResponseState(String contextKey) {
-        return manager.getResponseState(contextKey);
-    }
-
-    @POST
-    @Path("close")
-    public void close() throws IOException {
-    }
-}

Reply via email to