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:03 UTC
[sling-org-apache-sling-auth-form] 19/32: SLING-1575 Add
@scr.service tag for login form servlets and fully qualify path property
definition in the authentication handler
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 531e943282d397c0f249427b09c270ff18ebb427
Author: Felix Meschberger <fm...@apache.org>
AuthorDate: Tue Jul 27 14:13:39 2010 +0000
SLING-1575 Add @scr.service tag for login form servlets and fully qualify path property definition in the authentication handler
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/formauth@979711 13f79535-47bb-0310-9956-ffa450edef68
---
.../sling/formauth/impl/AuthenticationFormServlet.java | 1 +
.../sling/formauth/impl/FormAuthenticationHandler.java | 12 ++++++++----
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/src/main/java/org/apache/sling/formauth/impl/AuthenticationFormServlet.java b/src/main/java/org/apache/sling/formauth/impl/AuthenticationFormServlet.java
index a2c1d1b..1127f74 100644
--- a/src/main/java/org/apache/sling/formauth/impl/AuthenticationFormServlet.java
+++ b/src/main/java/org/apache/sling/formauth/impl/AuthenticationFormServlet.java
@@ -30,6 +30,7 @@ import org.apache.sling.formauth.FormReason;
* @scr.property name="service.vendor" value="The Apache Software Foundation"
* @scr.property name="service.description"
* value="Default Login Form for Form Based Authentication"
+ * @scr.service interface="javax.servlet.Servlet"
*/
@SuppressWarnings("serial")
public class AuthenticationFormServlet extends AbstractAuthenticationFormServlet {
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 c902551..f92768d 100644
--- a/src/main/java/org/apache/sling/formauth/impl/FormAuthenticationHandler.java
+++ b/src/main/java/org/apache/sling/formauth/impl/FormAuthenticationHandler.java
@@ -55,8 +55,8 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
- * The <code>FormAuthenticationHandler</code> class implements the
- * authorization steps based on a cookie.
+ * The <code>FormAuthenticationHandler</code> class implements the authorization
+ * steps based on a cookie.
*
* @scr.component immediate="false" label="%auth.form.name"
* description="%auth.form.description"
@@ -64,8 +64,12 @@ import org.slf4j.LoggerFactory;
* @scr.property name="service.description"
* value="Apache Sling Form Based Authentication Handler"
* @scr.property name="service.vendor" value="The Apache Software Foundation"
- * @scr.property nameRef="AuthenticationHandler.PATH_PROPERTY" value="/"
- * @scr.property nameRef="AuthenticationHandler.TYPE_PROPERTY" value="FORM"
+ * @scr.property nameRef=
+ * "org.apache.sling.commons.auth.spi.AuthenticationHandler.PATH_PROPERTY"
+ * values.0="/"
+ * @scr.property nameRef=
+ * "org.apache.sling.commons.auth.spi.AuthenticationHandler.TYPE_PROPERTY"
+ * valueRef="javax.servlet.http.HttpServletRequest.FORM_AUTH"
* private="true"
* @scr.service
*/
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.