jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edgarp...@apache.org
Subject svn commit: r421405 - /jackrabbit/trunk/jcr-server/server/src/java/org/apache/jackrabbit/server/jcr/JCRWebdavServer.java
Date Wed, 12 Jul 2006 20:36:01 GMT
Author: edgarpoce
Date: Wed Jul 12 13:36:01 2006
New Revision: 421405

URL: http://svn.apache.org/viewvc?rev=421405&view=rev
Log:
JCRWebdavServer tries to get the user id from a closed session causing the problem described
at http://issues.apache.org/jira/browse/JCR-477#action_12420631

Modified:
    jackrabbit/trunk/jcr-server/server/src/java/org/apache/jackrabbit/server/jcr/JCRWebdavServer.java

Modified: jackrabbit/trunk/jcr-server/server/src/java/org/apache/jackrabbit/server/jcr/JCRWebdavServer.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jcr-server/server/src/java/org/apache/jackrabbit/server/jcr/JCRWebdavServer.java?rev=421405&r1=421404&r2=421405&view=diff
==============================================================================
--- jackrabbit/trunk/jcr-server/server/src/java/org/apache/jackrabbit/server/jcr/JCRWebdavServer.java
(original)
+++ jackrabbit/trunk/jcr-server/server/src/java/org/apache/jackrabbit/server/jcr/JCRWebdavServer.java
Wed Jul 12 13:36:01 2006
@@ -218,8 +218,9 @@
                     sessionMap.remove(session);
                     try {
                         Session repSession = DavSessionImpl.getRepositorySession(session);
+                        String usr = getUserID(session) ;
                         sessionProvider.releaseSession(repSession);
-                        log.info("Login: User '" + getUserID(session) + "' logged out");
+                        log.info("Login: User '" + usr + "' logged out");
                     } catch (DavException e) {
                         // should not occure, since we original built a DavSessionImpl
                         // that wraps a repository session.



Mime
View raw message