Searched refs:allowedProtocols (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/utils/
H A DSecuritySupport.java227 * @param allowedProtocols a list of allowed protocols separated by comma
231 public static String checkAccess(String systemId, String allowedProtocols, String accessAny) throws IOException { argument
232 if (systemId == null || allowedProtocols.equalsIgnoreCase(accessAny)) {
248 if (isProtocolAllowed(protocol, allowedProtocols)) {
261 * @param allowedProtocols a list of allowed protocols
264 private static boolean isProtocolAllowed(String protocol, String allowedProtocols) { argument
265 String temp[] = allowedProtocols.split(",");
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/utils/
H A DSecuritySupport.java221 * @param allowedProtocols a list of allowed protocols separated by comma
225 public static String checkAccess(String systemId, String allowedProtocols, String accessAny) throws IOException { argument
226 if (systemId == null || allowedProtocols.equalsIgnoreCase(accessAny)) {
242 if (isProtocolAllowed(protocol, allowedProtocols)) {
255 * @param allowedProtocols a list of allowed protocols
258 private static boolean isProtocolAllowed(String protocol, String allowedProtocols) { argument
259 String temp[] = allowedProtocols.split(",");

Completed in 30 milliseconds