This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push:
new 79509006d6 Move constant to start of class
79509006d6 is described below
commit 79509006d6c870fef2b168cc3dbcc86da5d90d38
Author: Mark Thomas <[email protected]>
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 ed88ba1c48..b45e160231 100644
--- a/java/org/apache/catalina/realm/JNDIRealm.java
+++ b/java/org/apache/catalina/realm/JNDIRealm.java
@@ -145,7 +145,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
@@ -178,12 +182,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: [email protected]
For additional commands, e-mail: [email protected]