You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by se...@apache.org on 2015/11/11 15:39:13 UTC
cxf git commit: Removing the leftover code in OAuth2 jwt reader
Repository: cxf
Updated Branches:
refs/heads/master 3b302262c -> a32bb0bc9
Removing the leftover code in OAuth2 jwt reader
Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/a32bb0bc
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/a32bb0bc
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/a32bb0bc
Branch: refs/heads/master
Commit: a32bb0bc9538a74e6d9236287da9180c1f8ab3a7
Parents: 3b30226
Author: Sergey Beryozkin <sb...@gmail.com>
Authored: Wed Nov 11 14:38:59 2015 +0000
Committer: Sergey Beryozkin <sb...@gmail.com>
Committed: Wed Nov 11 14:38:59 2015 +0000
----------------------------------------------------------------------
.../security/oauth2/provider/AbstractOAuthJoseJwtConsumer.java | 6 ------
1 file changed, 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cxf/blob/a32bb0bc/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthJoseJwtConsumer.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthJoseJwtConsumer.java b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthJoseJwtConsumer.java
index b69d934..42a66de 100644
--- a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthJoseJwtConsumer.java
+++ b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthJoseJwtConsumer.java
@@ -59,15 +59,9 @@ public abstract class AbstractOAuthJoseJwtConsumer extends AbstractJoseJwtConsum
}
public void setDecryptWithClientSecret(boolean decryptWithClientSecret) {
- if (verifyWithClientSecret) {
- throw new SecurityException();
- }
this.decryptWithClientSecret = verifyWithClientSecret;
}
public void setVerifyWithClientSecret(boolean verifyWithClientSecret) {
- if (verifyWithClientSecret) {
- throw new SecurityException();
- }
this.verifyWithClientSecret = verifyWithClientSecret;
}
}