You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2015/02/12 10:23:47 UTC
svn commit: r1659174 -
/tomcat/trunk/java/org/apache/catalina/realm/GenericPrincipal.java
Author: markt
Date: Thu Feb 12 09:23:46 2015
New Revision: 1659174
URL: http://svn.apache.org/r1659174
Log:
Make it obvious these fields are not included in serialization.
Strictly not necessary because of custom serialization/deserialization code but it makes it clearer and silences a FindBugs warning.
Modified:
tomcat/trunk/java/org/apache/catalina/realm/GenericPrincipal.java
Modified: tomcat/trunk/java/org/apache/catalina/realm/GenericPrincipal.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/realm/GenericPrincipal.java?rev=1659174&r1=1659173&r2=1659174&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/realm/GenericPrincipal.java (original)
+++ tomcat/trunk/java/org/apache/catalina/realm/GenericPrincipal.java Thu Feb 12 09:23:46 2015
@@ -173,13 +173,13 @@ public class GenericPrincipal implements
* The JAAS LoginContext, if any, used to authenticate this Principal.
* Kept so we can call logout().
*/
- protected final LoginContext loginContext;
+ protected final transient LoginContext loginContext;
/**
* The user's delegated credentials.
*/
- protected GSSCredential gssCredential = null;
+ protected transient GSSCredential gssCredential = null;
@Override
public GSSCredential getGssCredential() {
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org