You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ie...@apache.org on 2010/07/28 18:00:01 UTC
svn commit: r980108 - in /sling/trunk/bundles/extensions/formauth/src/main:
java/org/apache/sling/formauth/impl/FormAuthenticationHandler.java
resources/OSGI-INF/metatype/metatype.properties
Author: ieb
Date: Wed Jul 28 16:00:01 2010
New Revision: 980108
URL: http://svn.apache.org/viewvc?rev=980108&view=rev
Log:
SLING-1614 Added missing property name and metatype text.
Modified:
sling/trunk/bundles/extensions/formauth/src/main/java/org/apache/sling/formauth/impl/FormAuthenticationHandler.java
sling/trunk/bundles/extensions/formauth/src/main/resources/OSGI-INF/metatype/metatype.properties
Modified: sling/trunk/bundles/extensions/formauth/src/main/java/org/apache/sling/formauth/impl/FormAuthenticationHandler.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/formauth/src/main/java/org/apache/sling/formauth/impl/FormAuthenticationHandler.java?rev=980108&r1=980107&r2=980108&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/formauth/src/main/java/org/apache/sling/formauth/impl/FormAuthenticationHandler.java (original)
+++ sling/trunk/bundles/extensions/formauth/src/main/java/org/apache/sling/formauth/impl/FormAuthenticationHandler.java Wed Jul 28 16:00:01 2010
@@ -179,7 +179,7 @@ public class FormAuthenticationHandler e
*
* @scr.property type="Boolean" valueRef="DEFAULT_LOGIN_AFTER_EXPIRE"
*/
- private static final String PAR_LOGIN_AFTER_EXPIRE = null;
+ private static final String PAR_LOGIN_AFTER_EXPIRE = "form.onexpire.login";
/**
* The default login after expire of a cookie.
Modified: sling/trunk/bundles/extensions/formauth/src/main/resources/OSGI-INF/metatype/metatype.properties
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/formauth/src/main/resources/OSGI-INF/metatype/metatype.properties?rev=980108&r1=980107&r2=980108&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/formauth/src/main/resources/OSGI-INF/metatype/metatype.properties (original)
+++ sling/trunk/bundles/extensions/formauth/src/main/resources/OSGI-INF/metatype/metatype.properties Wed Jul 28 16:00:01 2010
@@ -74,3 +74,9 @@ form.use.include.name = Include Form
form.use.include.description = If true, this authentication handler will attempt \
to include a Servlet resource at the login form path. If false, a redirect will \
be used instead.
+
+form.onexpire.login.name = On Login Expire, Re-login
+form.onexpire.login.description = If true, when the form login expires the user \
+ will be prompted to re-login. If false they become an anonymous user. The default \
+ is false.
+
\ No newline at end of file