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:19:18 UTC

[sling-org-apache-sling-auth-form] 07/10: SLING-3795 : Fields for dynamic references must be volatile

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.6
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-form.git

commit ca4e8506655f892ab48027c2619c420c8e24ae33
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Mon Jul 28 06:39:21 2014 +0000

    SLING-3795 : Fields for dynamic references must be volatile
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form@1613880 13f79535-47bb-0310-9956-ffa450edef68
---
 .../java/org/apache/sling/auth/form/impl/FormAuthenticationHandler.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 361a11d..9314fa3 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
@@ -289,7 +289,7 @@ public class FormAuthenticationHandler extends DefaultAuthenticationFeedbackHand
      * The resource resolver factory used to resolve the login form as a resource
      */
     @Reference(policy = ReferencePolicy.DYNAMIC, cardinality = ReferenceCardinality.OPTIONAL_UNARY)
-    private ResourceResolverFactory resourceResolverFactory;
+    private volatile ResourceResolverFactory resourceResolverFactory;
 
     /**
      * If true the login form will be presented when the token expires.

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