Author: markt Date: Mon Aug 22 21:19:12 2016 New Revision: 1757278 URL: http://svn.apache.org/viewvc?rev=1757278&view=rev Log: Correct comment
Modified: tomcat/trunk/java/org/apache/naming/factory/ResourceLinkFactory.java Modified: tomcat/trunk/java/org/apache/naming/factory/ResourceLinkFactory.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/naming/factory/ResourceLinkFactory.java?rev=1757278&r1=1757277&r2=1757278&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/naming/factory/ResourceLinkFactory.java (original) +++ tomcat/trunk/java/org/apache/naming/factory/ResourceLinkFactory.java Mon Aug 22 21:19:12 2016 @@ -137,9 +137,8 @@ public class ResourceLinkFactory impleme RefAddr refAddr = ref.get(ResourceLinkRef.GLOBALNAME); if (refAddr != null) { globalName = refAddr.getContent().toString(); - // When running under a security manager confirm that the current - // web application has really been configured to access the specified - // global resource + // Confirm that the current web application is currently configured + // to access the specified global resource if (!validateGlobalResourceAccess(globalName)) { return null; } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org