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

michaelo pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/8.5.x by this push:
     new d79954dfc7 Align PropertiesRoleMappingListener for API difference
d79954dfc7 is described below

commit d79954dfc7171417231eaaa0ec6586e50f69f8e6
Author: Michael Osipov <micha...@apache.org>
AuthorDate: Thu Jun 29 12:27:59 2023 +0200

    Align PropertiesRoleMappingListener for API difference
---
 java/org/apache/catalina/core/PropertiesRoleMappingListener.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/catalina/core/PropertiesRoleMappingListener.java 
b/java/org/apache/catalina/core/PropertiesRoleMappingListener.java
index 60b135d27f..2dc44e9adb 100644
--- a/java/org/apache/catalina/core/PropertiesRoleMappingListener.java
+++ b/java/org/apache/catalina/core/PropertiesRoleMappingListener.java
@@ -115,7 +115,7 @@ public class PropertiesRoleMappingListener implements 
LifecycleListener {
                 is = context.getServletContext().getResourceAsStream(path);
             } else {
                 try {
-                    is = 
ConfigFileLoader.getSource().getResource(roleMappingFile).getInputStream();
+                    is = ConfigFileLoader.getInputStream(roleMappingFile);
                 } catch (FileNotFoundException e1) {
                     is = null;
                 } catch (IOException e2) {


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

Reply via email to