cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject [6/9] cxf git commit: Eliminate eclipse warnings
Date Thu, 09 Jul 2015 16:20:39 GMT
Eliminate eclipse warnings


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

Branch: refs/heads/3.0.x-fixes
Commit: e439993929afec2bf416b7a24596f52bd947f1f1
Parents: 37d49fb
Author: Daniel Kulp <dkulp@apache.org>
Authored: Wed Jul 1 08:43:17 2015 -0400
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Thu Jul 9 12:20:26 2015 -0400

----------------------------------------------------------------------
 core/src/main/java/org/apache/cxf/common/security/SimpleGroup.java | 1 +
 .../apache/cxf/jaxrs/security/KerberosAuthenticationFilter.java    | 1 +
 .../apache/cxf/rs/security/jose/jaxrs/JwtAuthenticationFilter.java | 1 +
 .../cxf/rs/security/saml/authorization/SubjectPrincipal.java       | 2 ++
 4 files changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/e4399939/core/src/main/java/org/apache/cxf/common/security/SimpleGroup.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/cxf/common/security/SimpleGroup.java b/core/src/main/java/org/apache/cxf/common/security/SimpleGroup.java
index eb5e957..1d39a5e 100644
--- a/core/src/main/java/org/apache/cxf/common/security/SimpleGroup.java
+++ b/core/src/main/java/org/apache/cxf/common/security/SimpleGroup.java
@@ -31,6 +31,7 @@ import java.util.Set;
  */
 public class SimpleGroup extends SimplePrincipal implements Group {
     
+    private static final long serialVersionUID = 1L;
     private Set<Principal> members = new HashSet<Principal>();
     
     public SimpleGroup(String groupName) {

http://git-wip-us.apache.org/repos/asf/cxf/blob/e4399939/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/security/KerberosAuthenticationFilter.java
----------------------------------------------------------------------
diff --git a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/security/KerberosAuthenticationFilter.java
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/security/KerberosAuthenticationFilter.java
index c23739b..b5994d6 100644
--- a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/security/KerberosAuthenticationFilter.java
+++ b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/security/KerberosAuthenticationFilter.java
@@ -218,6 +218,7 @@ public class KerberosAuthenticationFilter implements ContainerRequestFilter
{
     }
     
     public static class KerberosPrincipal extends SimplePrincipal {
+        private static final long serialVersionUID = 1L;
         private String complexName;
         public KerberosPrincipal(String simpleName, String complexName) {
             super(simpleName);

http://git-wip-us.apache.org/repos/asf/cxf/blob/e4399939/rt/rs/security/jose/src/main/java/org/apache/cxf/rs/security/jose/jaxrs/JwtAuthenticationFilter.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/jose/src/main/java/org/apache/cxf/rs/security/jose/jaxrs/JwtAuthenticationFilter.java
b/rt/rs/security/jose/src/main/java/org/apache/cxf/rs/security/jose/jaxrs/JwtAuthenticationFilter.java
index 0c32f55..7146679 100644
--- a/rt/rs/security/jose/src/main/java/org/apache/cxf/rs/security/jose/jaxrs/JwtAuthenticationFilter.java
+++ b/rt/rs/security/jose/src/main/java/org/apache/cxf/rs/security/jose/jaxrs/JwtAuthenticationFilter.java
@@ -61,6 +61,7 @@ public class JwtAuthenticationFilter extends AbstractJoseJwtConsumer implements
         this.jweOnly = jweOnly;
     }
     public static class JwtPrincipal extends SimplePrincipal {
+        private static final long serialVersionUID = 1L;
         private JwtToken jwt;
         public JwtPrincipal(JwtToken jwt) {
             super(jwt.getClaims().getSubject());

http://git-wip-us.apache.org/repos/asf/cxf/blob/e4399939/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/authorization/SubjectPrincipal.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/authorization/SubjectPrincipal.java
b/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/authorization/SubjectPrincipal.java
index 8ed3a90..cbeecf5 100644
--- a/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/authorization/SubjectPrincipal.java
+++ b/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/authorization/SubjectPrincipal.java
@@ -22,6 +22,8 @@ import org.apache.cxf.common.security.SimplePrincipal;
 import org.apache.cxf.rs.security.saml.assertion.Subject;
 
 public class SubjectPrincipal extends SimplePrincipal {
+    private static final long serialVersionUID = 1L;
+    
     private Subject subject;
     public SubjectPrincipal(String principalName, Subject subject) {
         super(principalName);


Mime
View raw message