jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ajaqu...@apache.org
Subject svn commit: r685765 - in /incubator/jspwiki/trunk/src/com/ecyrd/jspwiki: Release.java WikiSession.java
Date Thu, 14 Aug 2008 04:37:16 GMT
Author: ajaquith
Date: Wed Aug 13 21:37:16 2008
New Revision: 685765

URL: http://svn.apache.org/viewvc?rev=685765&view=rev
Log:
Fixed invalidateSession() method in WikiSession, which was not quite fully invalidating sessions.

Modified:
    incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/Release.java
    incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/WikiSession.java

Modified: incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/Release.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/Release.java?rev=685765&r1=685764&r2=685765&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/Release.java (original)
+++ incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/Release.java Wed Aug 13 21:37:16 2008
@@ -77,7 +77,7 @@
      *  <p>
      *  If the build identifier is empty, it is not added.
      */
-    public static final String     BUILD         = "15";
+    public static final String     BUILD         = "16";
     
     /**
      *  This is the generic version string you should use

Modified: incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/WikiSession.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/WikiSession.java?rev=685765&r1=685764&r2=685765&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/WikiSession.java (original)
+++ incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/WikiSession.java Wed Aug 13 21:37:16 2008
@@ -610,6 +610,8 @@
         m_subject.getPrincipals().add( WikiPrincipal.GUEST );
         m_subject.getPrincipals().add( Role.ANONYMOUS );
         m_subject.getPrincipals().add( Role.ALL );
+        m_userPrincipal = WikiPrincipal.GUEST;
+        m_loginPrincipal = WikiPrincipal.GUEST;
     }
 
     /**



Mime
View raw message