incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r919047 - /sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/ResourceResolverFactoryImpl.java
Date Thu, 04 Mar 2010 16:12:56 GMT
Author: cziegeler
Date: Thu Mar  4 16:12:56 2010
New Revision: 919047

URL: http://svn.apache.org/viewvc?rev=919047&view=rev
Log:
SLING-1262 - Fix anon login

Modified:
    sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/ResourceResolverFactoryImpl.java

Modified: sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/ResourceResolverFactoryImpl.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/ResourceResolverFactoryImpl.java?rev=919047&r1=919046&r2=919047&view=diff
==============================================================================
--- sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/ResourceResolverFactoryImpl.java
(original)
+++ sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/ResourceResolverFactoryImpl.java
Thu Mar  4 16:12:56 2010
@@ -74,7 +74,7 @@
         final Session session;
         try {
             if ( credentials == null ) {
-                session = this.repository.loginAdministrative(workspace);
+                session = this.repository.login(workspace);
             } else {
                 session = this.repository.login(credentials, workspace);
             }



Mime
View raw message