This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 10.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.0.x by this push: new b651945 Make fields accessible to sub-classes of JNDIRealm b651945 is described below commit b651945857d9a47523e336a83cb4024a65f6e518 Author: Mark Thomas <ma...@apache.org> AuthorDate: Mon Jun 21 18:12:49 2021 +0100 Make fields accessible to sub-classes of JNDIRealm Access problem for sub-classes reported via users@tomcat.a.o https://tomcat.markmail.org/thread/l6exgocuy46v75ch --- java/org/apache/catalina/realm/JNDIRealm.java | 10 +++++----- webapps/docs/changelog.xml | 4 ++++ 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/java/org/apache/catalina/realm/JNDIRealm.java b/java/org/apache/catalina/realm/JNDIRealm.java index b6318b4..89564ea 100644 --- a/java/org/apache/catalina/realm/JNDIRealm.java +++ b/java/org/apache/catalina/realm/JNDIRealm.java @@ -3083,29 +3083,29 @@ public class JNDIRealm extends RealmBase { * The MessageFormat object associated with the current * <code>userSearch</code>. */ - protected MessageFormat userSearchFormat = null; + public MessageFormat userSearchFormat = null; /** * An array of MessageFormat objects associated with the current * <code>userPatternArray</code>. */ - protected MessageFormat[] userPatternFormatArray = null; + public MessageFormat[] userPatternFormatArray = null; /** * The MessageFormat object associated with the current * <code>roleBase</code>. */ - protected MessageFormat roleBaseFormat = null; + public MessageFormat roleBaseFormat = null; /** * The MessageFormat object associated with the current * <code>roleSearch</code>. */ - protected MessageFormat roleFormat = null; + public MessageFormat roleFormat = null; /** * The directory context linking us to our directory server. */ - protected DirContext context = null; + public DirContext context = null; } } diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml index b3b1a15..02973d5 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -111,6 +111,10 @@ Refactor the <code>RemoteIpValve</code> to use the common utility method for list to comma separated string conversion. (markt) </scode> + <scode> + Refactor <code>JNDIRealm$JNDIConnection</code> so its fields are + accessible to sub-classes of <code>JNDIRealm</code>. (markt) + </scode> </changelog> </subsection> <subsection name="Coyote"> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org