You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by as...@apache.org on 2014/10/09 21:22:43 UTC

svn commit: r1630566 - in /sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource: ResourceResolverFactory.java package-info.java

Author: asanso
Date: Thu Oct  9 19:22:42 2014
New Revision: 1630566

URL: http://svn.apache.org/r1630566
Log:
SLING-3991 - Support Password Change Upon Expiry Via SimpleCredentials Attribute (applied patch from Dominique Jaeggi)

Modified:
    sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceResolverFactory.java
    sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/package-info.java

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=1630566&r1=1630565&r2=1630566&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 Thu Oct  9 19:22:42 2014
@@ -57,6 +57,14 @@ public interface ResourceResolverFactory
     String PASSWORD = "user.password";
 
     /**
+     * Name of the authentication information property providing the new password of
+     * the user for which to create a resource resolver and change the password during login.
+     * <p>
+     * The type of this property, if present, is <code>String</code>.
+     */
+    String NEW_PASSWORD = "user.newpassword";
+
+    /**
      * Name of the authentication information property causing the
      * {@link #getResourceResolver(Map)},
      * {@link #getAdministrativeResourceResolver(Map)}, and

Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/package-info.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/package-info.java?rev=1630566&r1=1630565&r2=1630566&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/package-info.java (original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/package-info.java Thu Oct  9 19:22:42 2014
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-@Version("2.6")
+@Version("2.7")
 package org.apache.sling.api.resource;
 
 import aQute.bnd.annotation.Version;