Searched defs:allowedProtocols (Results 1 - 3 of 3) 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(",");
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/
H A DXMLDocumentFragmentScannerImpl.java2034 String checkAccess(String systemId, String allowedProtocols) throws IOException { argument
2037 return SecuritySupport.checkAccess(expandedSystemId, allowedProtocols, Constants.ACCESS_EXTERNAL_ALL);

Completed in 62 milliseconds