You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:18:07 UTC

[sling-org-apache-sling-auth-form] 23/32: SLING-1614 Added missing property name and metatype text.

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.auth.form-1.0.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-form.git

commit e561eda67452857f1cfeb08403d5bfa1317af040
Author: Ian Boston <ie...@apache.org>
AuthorDate: Wed Jul 28 16:00:01 2010 +0000

    SLING-1614 Added missing property name and metatype text.
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/formauth@980108 13f79535-47bb-0310-9956-ffa450edef68
---
 .../org/apache/sling/formauth/impl/FormAuthenticationHandler.java   | 2 +-
 src/main/resources/OSGI-INF/metatype/metatype.properties            | 6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/formauth/impl/FormAuthenticationHandler.java b/src/main/java/org/apache/sling/formauth/impl/FormAuthenticationHandler.java
index 4c100ce..197bcef 100644
--- a/src/main/java/org/apache/sling/formauth/impl/FormAuthenticationHandler.java
+++ b/src/main/java/org/apache/sling/formauth/impl/FormAuthenticationHandler.java
@@ -179,7 +179,7 @@ public class FormAuthenticationHandler extends AbstractAuthenticationHandler {
      *
      * @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.
diff --git a/src/main/resources/OSGI-INF/metatype/metatype.properties b/src/main/resources/OSGI-INF/metatype/metatype.properties
index 2e5839e..686bd82 100644
--- a/src/main/resources/OSGI-INF/metatype/metatype.properties
+++ b/src/main/resources/OSGI-INF/metatype/metatype.properties
@@ -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

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.