Advertisement
Guest User

jetty-context.xml

a guest
Jan 18th, 2013
519
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.83 KB | None | 0 0
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
  3.  
  4. <Configure class="org.eclipse.jetty.webapp.WebAppContext">
  5.  
  6.     <Get name="securityHandler">
  7.         <Set name="loginService">
  8.             <New class="com.pixelware.firma.jetty.CertificateLoginService">
  9.             </New>
  10.         </Set>
  11.         <Set name="authenticator">
  12.             <New class="com.pixelware.firma.jetty.ClientCertAuthenticator">
  13.                 <Set name="validateCerts">false</Set>
  14.             </New>
  15.         </Set>
  16.     </Get>
  17.  
  18.     <!-- Para evitar que Spring 3.0 se tire años buscando unas interfaces en el classpath -->
  19.     <Call name="setAttribute">
  20.         <Arg>org.eclipse.jetty.server.webapp.WebInfIncludeJarPattern</Arg>
  21.         <Arg>.*/.*jsp-api-[^/]\.jar$|./.*jsp-[^/]\.jar$|./.*taglibs[^/]*\.jar$
  22.         </Arg>
  23.     </Call>
  24. </Configure>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement