sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tomm...@apache.org
Subject svn commit: r1701994 - /sling/trunk/contrib/extensions/distribution/core/src/main/java/org/apache/sling/distribution/trigger/impl/AbstractJcrEventTrigger.java
Date Wed, 09 Sep 2015 12:58:07 GMT
Author: tommaso
Date: Wed Sep  9 12:58:06 2015
New Revision: 1701994

URL: http://svn.apache.org/r1701994
Log:
SLING-5009 - AbstractJcrEventTrigger uses a service user

Modified:
    sling/trunk/contrib/extensions/distribution/core/src/main/java/org/apache/sling/distribution/trigger/impl/AbstractJcrEventTrigger.java

Modified: sling/trunk/contrib/extensions/distribution/core/src/main/java/org/apache/sling/distribution/trigger/impl/AbstractJcrEventTrigger.java
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/distribution/core/src/main/java/org/apache/sling/distribution/trigger/impl/AbstractJcrEventTrigger.java?rev=1701994&r1=1701993&r2=1701994&view=diff
==============================================================================
--- sling/trunk/contrib/extensions/distribution/core/src/main/java/org/apache/sling/distribution/trigger/impl/AbstractJcrEventTrigger.java
(original)
+++ sling/trunk/contrib/extensions/distribution/core/src/main/java/org/apache/sling/distribution/trigger/impl/AbstractJcrEventTrigger.java
Wed Sep  9 12:58:06 2015
@@ -205,8 +205,7 @@ public abstract class AbstractJcrEventTr
      */
     Session getSession() throws RepositoryException {
         return cachedSession != null ? cachedSession
-                : (cachedSession = repository.loginAdministrative(null)); // TODO: change
after SLING-4312
-        // : (cachedSession = repository.loginService(serviceUser, null));
+            : (cachedSession = repository.loginService(serviceUser, null));
     }
 
 



Mime
View raw message