356693 reduce visibility to webapp of websocket implementations

This commit is contained in:
Greg Wilkins 2011-09-05 11:24:37 +10:00
parent 68fe9c4b82
commit 898dcc8b2a
1 changed files with 5 additions and 2 deletions

View File

@ -99,7 +99,8 @@ public class WebAppContext extends ServletContextHandler implements WebAppClassL
"org.eclipse.jetty.continuation.", // webapp cannot change continuation classes
"org.eclipse.jetty.jndi.", // webapp cannot change naming classes
"org.eclipse.jetty.plus.jaas.", // webapp cannot change jaas classes
"org.eclipse.jetty.websocket.", // WebSocket is a jetty extension
"org.eclipse.jetty.websocket.WebSocket",// WebSocket is a jetty extension
"org.eclipse.jetty.websocket.WebSocketFactory",// WebSocket is a jetty extension
"org.eclipse.jetty.servlet.DefaultServlet" // webapp cannot change default servlets
} ;
@ -112,7 +113,9 @@ public class WebAppContext extends ServletContextHandler implements WebAppClassL
"-org.eclipse.jetty.continuation.", // don't hide continuation classes
"-org.eclipse.jetty.jndi.", // don't hide naming classes
"-org.eclipse.jetty.plus.jaas.", // don't hide jaas classes
"-org.eclipse.jetty.websocket.", // don't hide websocket extension
"-org.eclipse.jetty.websocket.WebSocket",// WebSocket is a jetty extension
"-org.eclipse.jetty.websocket.WebSocketFactory",// WebSocket is a jetty extension
"-org.eclipse.jetty.websocket.WebSocketServlet",// WebSocket is a jetty extension
"-org.eclipse.jetty.servlet.DefaultServlet", // don't hide default servlet
"-org.eclipse.jetty.servlet.listener.", //don't hide useful listeners
"org.eclipse.jetty." // hide other jetty classes