cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ashaki...@apache.org
Subject cxf git commit: [CXF-6470]: Make SimplePrinciple Serializable
Date Sat, 20 Jun 2015 17:10:36 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 174bd11dc -> 17d710cdb


[CXF-6470]: Make SimplePrinciple Serializable


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

Branch: refs/heads/master
Commit: 17d710cdb3b4d3cd5d07321051ac42753c4817b2
Parents: 174bd11
Author: Andrei Shakirin <andrei.shakirin@gmail.com>
Authored: Sat Jun 20 19:10:26 2015 +0200
Committer: Andrei Shakirin <andrei.shakirin@gmail.com>
Committed: Sat Jun 20 19:10:26 2015 +0200

----------------------------------------------------------------------
 .../java/org/apache/cxf/common/security/SimplePrincipal.java   | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/17d710cd/core/src/main/java/org/apache/cxf/common/security/SimplePrincipal.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/cxf/common/security/SimplePrincipal.java b/core/src/main/java/org/apache/cxf/common/security/SimplePrincipal.java
index 261a0f4..c150006 100644
--- a/core/src/main/java/org/apache/cxf/common/security/SimplePrincipal.java
+++ b/core/src/main/java/org/apache/cxf/common/security/SimplePrincipal.java
@@ -18,14 +18,16 @@
  */
 package org.apache.cxf.common.security;
 
+import java.io.Serializable;
 import java.security.Principal;
 
 /**
  * Simple Principal implementation
  *
  */
-public class SimplePrincipal implements Principal {
-
+public class SimplePrincipal implements Principal, Serializable {
+    private static final long serialVersionUID = -5171549568204891853L;
+    
     private String name;
     
     public SimplePrincipal(String name) {


Mime
View raw message