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 62001e8ec76 Removing OAuthServiceExceptionMapper which isn't used 
anywhere (#3128)
62001e8ec76 is described below

commit 62001e8ec76665941a6d831f0a4cc70f55d68d37
Author: Colm O hEigeartaigh <[email protected]>
AuthorDate: Thu May 21 09:16:47 2026 +0100

    Removing OAuthServiceExceptionMapper which isn't used anywhere (#3128)
---
 .../provider/OAuthServiceExceptionMapper.java      | 31 ----------------------
 1 file changed, 31 deletions(-)

diff --git 
a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/OAuthServiceExceptionMapper.java
 
b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/OAuthServiceExceptionMapper.java
deleted file mode 100644
index 73176dc36e6..00000000000
--- 
a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/OAuthServiceExceptionMapper.java
+++ /dev/null
@@ -1,31 +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.oauth2.provider;
-
-import jakarta.ws.rs.core.Response;
-import jakarta.ws.rs.ext.ExceptionMapper;
-
-public class OAuthServiceExceptionMapper implements 
ExceptionMapper<OAuthServiceException> {
-
-    @Override
-    public Response toResponse(OAuthServiceException exception) {
-        return Response.ok().entity(exception.getError()).build();
-    }
-
-}

Reply via email to