directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smckin...@apache.org
Subject directory-fortress-realm git commit: FC-105 - [fortress-realm] - toString may return null
Date Thu, 21 May 2015 14:34:05 GMT
Repository: directory-fortress-realm
Updated Branches:
  refs/heads/master e57ee7842 -> df1b369a0


FC-105 - [fortress-realm] - toString may return null


Project: http://git-wip-us.apache.org/repos/asf/directory-fortress-realm/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-fortress-realm/commit/df1b369a
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-realm/tree/df1b369a
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-realm/diff/df1b369a

Branch: refs/heads/master
Commit: df1b369a098ddbdbcfb0aa2cc7abaacc193cb8eb
Parents: e57ee78
Author: Shawn McKinney <smckinney@apache.org>
Authored: Thu May 21 09:34:00 2015 -0500
Committer: Shawn McKinney <smckinney@apache.org>
Committed: Thu May 21 09:34:00 2015 -0500

----------------------------------------------------------------------
 .../org/apache/directory/fortress/realm/tomcat/TcPrincipal.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-fortress-realm/blob/df1b369a/impl/src/main/java/org/apache/directory/fortress/realm/tomcat/TcPrincipal.java
----------------------------------------------------------------------
diff --git a/impl/src/main/java/org/apache/directory/fortress/realm/tomcat/TcPrincipal.java
b/impl/src/main/java/org/apache/directory/fortress/realm/tomcat/TcPrincipal.java
index 75bb3ac..6c392ce 100644
--- a/impl/src/main/java/org/apache/directory/fortress/realm/tomcat/TcPrincipal.java
+++ b/impl/src/main/java/org/apache/directory/fortress/realm/tomcat/TcPrincipal.java
@@ -103,7 +103,7 @@ public class TcPrincipal implements Principal, Serializable
      */
     public final String toString()
     {
-        String ser = null;
+        String ser = "userId=" + name;
         HashMap<String, Object> context = getContext();
         
         if ( context != null )


Mime
View raw message