This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new c037d2148d Move constant to start of class
c037d2148d is described below
commit c037d2148d40d82c2fd13e970c1a530b65718c3e
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 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: [email protected]
For additional commands, e-mail: [email protected]