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

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
     new 5708495734 Move constant to start of class
5708495734 is described below

commit 57084957341b266d6e68945e2ddc95700953d27b
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Feb 19 16:21:50 2025 +0000

    Move constant to start of class
---
 java/org/apache/catalina/realm/JNDIRealm.java | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/java/org/apache/catalina/realm/JNDIRealm.java 
b/java/org/apache/catalina/realm/JNDIRealm.java
index ac61f7730d..bd3711b13b 100644
--- a/java/org/apache/catalina/realm/JNDIRealm.java
+++ b/java/org/apache/catalina/realm/JNDIRealm.java
@@ -147,7 +147,11 @@ import org.ietf.jgss.GSSName;
  */
 public class JNDIRealm extends RealmBase {
 
-    // ----------------------------------------------------- Instance Variables
+    /**
+     * Constant that holds the name of the environment property for specifying 
the manner in which aliases should be
+     * dereferenced.
+     */
+    public static final String DEREF_ALIASES = "java.naming.ldap.derefAliases";
 
     /**
      * The type of authentication to use
@@ -180,12 +184,6 @@ public class JNDIRealm extends RealmBase {
      */
     protected String derefAliases = null;
 
-    /**
-     * Constant that holds the name of the environment property for specifying 
the manner in which aliases should be
-     * dereferenced.
-     */
-    public static final String DEREF_ALIASES = "java.naming.ldap.derefAliases";
-
     /**
      * The protocol that will be used in the communication with the directory 
server.
      */


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to