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

dklco pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-form.git


The following commit(s) were added to refs/heads/master by this push:
     new 2b8ba04  Specifying the @Activate annotation on the activate method so 
that the annotation processor generates the manifest correctly.
2b8ba04 is described below

commit 2b8ba046a0b4c28409a77833cfe8afc544e52427
Author: Dan Klco <dk...@apache.org>
AuthorDate: Thu May 17 19:56:06 2018 -0700

    Specifying the @Activate annotation on the activate method so that the
    annotation processor generates the manifest correctly.
---
 .../java/org/apache/sling/auth/form/impl/FormAuthenticationHandler.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/src/main/java/org/apache/sling/auth/form/impl/FormAuthenticationHandler.java 
b/src/main/java/org/apache/sling/auth/form/impl/FormAuthenticationHandler.java
index 8695712..ff639fd 100644
--- 
a/src/main/java/org/apache/sling/auth/form/impl/FormAuthenticationHandler.java
+++ 
b/src/main/java/org/apache/sling/auth/form/impl/FormAuthenticationHandler.java
@@ -51,6 +51,7 @@ import org.apache.sling.auth.form.impl.jaas.JaasHelper;
 import org.osgi.framework.BundleContext;
 import org.osgi.framework.ServiceRegistration;
 import org.osgi.service.component.ComponentContext;
+import org.osgi.service.component.annotations.Activate;
 import org.osgi.service.component.annotations.Component;
 import org.osgi.service.component.annotations.Deactivate;
 import org.osgi.service.component.annotations.Reference;
@@ -543,6 +544,7 @@ public class FormAuthenticationHandler extends 
DefaultAuthenticationFeedbackHand
         * @throws IllegalStateException
         * @throws UnsupportedEncodingException
         */
+       @Activate
        protected void activate(FormAuthenticationHandlerConfig config, 
ComponentContext componentContext)
                        throws InvalidKeyException, NoSuchAlgorithmException, 
IllegalStateException, UnsupportedEncodingException {
 

-- 
To stop receiving notification emails like this one, please contact
dk...@apache.org.

Reply via email to