cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Removing AuthorizationCodeRequestFilter on the trunk only
Date Thu, 11 Feb 2016 17:19:50 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 1a8d70ddf -> c63f06f37


Removing AuthorizationCodeRequestFilter on the trunk only


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/c63f06f3
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/c63f06f3
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/c63f06f3

Branch: refs/heads/master
Commit: c63f06f3782148373912c1e4dc86de0d0c312229
Parents: 1a8d70d
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Thu Feb 11 17:19:36 2016 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Thu Feb 11 17:19:36 2016 +0000

----------------------------------------------------------------------
 .../AuthorizationCodeRequestFilter.java         | 23 --------------------
 .../services/AuthorizationCodeGrantService.java |  7 ------
 2 files changed, 30 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/c63f06f3/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/AuthorizationCodeRequestFilter.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/AuthorizationCodeRequestFilter.java
b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/AuthorizationCodeRequestFilter.java
deleted file mode 100644
index 56f285d..0000000
--- a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/AuthorizationCodeRequestFilter.java
+++ /dev/null
@@ -1,23 +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;
-
-@Deprecated
-public interface AuthorizationCodeRequestFilter extends AuthorizationRequestFilter {
-}

http://git-wip-us.apache.org/repos/asf/cxf/blob/c63f06f3/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/services/AuthorizationCodeGrantService.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/services/AuthorizationCodeGrantService.java
b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/services/AuthorizationCodeGrantService.java
index 86d229f..943cfd9 100644
--- a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/services/AuthorizationCodeGrantService.java
+++ b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/services/AuthorizationCodeGrantService.java
@@ -37,7 +37,6 @@ import org.apache.cxf.rs.security.oauth2.common.UserSubject;
 import org.apache.cxf.rs.security.oauth2.grants.code.AuthorizationCodeDataProvider;
 import org.apache.cxf.rs.security.oauth2.grants.code.AuthorizationCodeRegistration;
 import org.apache.cxf.rs.security.oauth2.grants.code.ServerAuthorizationCodeGrant;
-import org.apache.cxf.rs.security.oauth2.provider.AuthorizationCodeRequestFilter;
 import org.apache.cxf.rs.security.oauth2.provider.AuthorizationCodeResponseFilter;
 import org.apache.cxf.rs.security.oauth2.provider.OAuthServiceException;
 import org.apache.cxf.rs.security.oauth2.provider.OOBResponseDeliverer;
@@ -51,7 +50,6 @@ import org.apache.cxf.rs.security.oauth2.utils.OAuthConstants;
  * redirect End User back to the Client, supplying 
  * the authorization code.
  */
-@SuppressWarnings("deprecation")
 @Path("/authorize")
 public class AuthorizationCodeGrantService extends RedirectionBasedGrantService {
     private static final long RECOMMENDED_CODE_EXPIRY_TIME_SECS = 10L * 60L;
@@ -184,11 +182,6 @@ public class AuthorizationCodeGrantService extends RedirectionBasedGrantService
     public void setCodeResponseFilter(AuthorizationCodeResponseFilter filter) {
         this.codeResponseFilter = filter;
     }
-
-    @Deprecated
-    public void setCodeRequestFilter(AuthorizationCodeRequestFilter codeRequestFilter) {
-        super.setAuthorizationFilter(codeRequestFilter);
-    }
     public void setCanSupportEmptyRedirectForPrivateClients(boolean canSupportEmptyRedirectForPrivateClients)
{
         this.canSupportEmptyRedirectForPrivateClients = canSupportEmptyRedirectForPrivateClients;
     }


Mime
View raw message