Author: cziegeler
Date: Fri Aug 13 09:50:01 2010
New Revision: 985145

URL: http://svn.apache.org/viewvc?rev=985145&view=rev
Log:
Correct javadocs.

Modified:
    
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/LoginException.java
    
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceResolverFactory.java

Modified: 
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/LoginException.java
URL: 
http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/LoginException.java?rev=985145&r1=985144&r2=985145&view=diff
==============================================================================
--- 
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/LoginException.java
 (original)
+++ 
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/LoginException.java
 Fri Aug 13 09:50:01 2010
@@ -23,7 +23,7 @@ package org.apache.sling.api.resource;
  * <code>{...@link 
ResourceResolverFactory#getAdministrativeResourceResolver(java.util.Map)}</code>
  * ,
  * <code>{...@link 
ResourceResolverFactory#getResourceResolver(java.util.Map)}</code>
- * , and <code>{...@link ResourceResolver#copy(java.util.Map)}</code> if a 
resource
+ * , and <code>{...@link ResourceResolver#clone(java.util.Map)}</code> if a 
resource
  * resolver cannot be created because the credential data is not valid.
  *
  * @since 2.1

Modified: 
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceResolverFactory.java
URL: 
http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceResolverFactory.java?rev=985145&r1=985144&r2=985145&view=diff
==============================================================================
--- 
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceResolverFactory.java
 (original)
+++ 
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceResolverFactory.java
 Fri Aug 13 09:50:01 2010
@@ -97,7 +97,7 @@ public interface ResourceResolverFactory
      * <code>authenticationInfo</code> map.
      * <p>
      * Note, that if the <code>authenticationInfo</code> map contains the
-     * {...@link #SUDO_USER_ID} attribute the <code>ResourceResolver</code>
+     * {...@link #USER_IMPERSONATION} attribute the 
<code>ResourceResolver</code>
      * returned will only have administrative privileges if the user identified
      * by the property has administrative privileges.
      *
@@ -105,7 +105,7 @@ public interface ResourceResolverFactory
      *            may be used by the implementation to parametrize how the
      *            resource resolver is created. This may be <code>null</code>.
      * @return A {...@link ResourceResolver} with administrative privileges 
unless
-     *         the {...@link #SUDO_USER_ID} was set in the
+     *         the {...@link #USER_IMPERSONATION} was set in the
      *         <code>authenticationInfo</code>.
      * @throws LoginException If an error occurrs creating the new
      *             <code>ResourceResolver</code> with the provided credential


Reply via email to