Project

General

Profile

« Previous | Next » 

Revision 7737

first pass at integrating CILogon/MyProxy certificates in Metacat. Configuration is specific to mn-demo-4.test.dataone.org for the time being (this will cause localhost deployments to fail webapp deployment). https://projects.ecoinformatics.org/ecoinfo/issues/5936

View differences:

web.xml.tomcat6
288 288
    <url-pattern>/dataProvider</url-pattern>
289 289
  </servlet-mapping>
290 290
  -->
291
  
292
	<!-- begin MyProxy portal delegation section -->
293
	<servlet>
294
        <servlet-name>startRequest</servlet-name>
295
        <servlet-class>edu.ucsb.nceas.metacat.portal.StartRequest</servlet-class>
296
        <load-on-startup>1</load-on-startup>
297
    </servlet>
298
    <servlet-mapping>
299
        <servlet-name>startRequest</servlet-name>
300
        <url-pattern>/startRequest</url-pattern>
301
    </servlet-mapping>
302

  
303
    <servlet>
304
        <servlet-name>ready</servlet-name>
305
        <servlet-class>edu.ucsb.nceas.metacat.portal.SuccessServlet</servlet-class>
306
        <load-on-startup>1</load-on-startup>
307
    </servlet>
308
    <servlet-mapping>
309
        <servlet-name>ready</servlet-name>
310
        <url-pattern>/ready</url-pattern>
311
    </servlet-mapping>
312
    
313
    <servlet>
314
        <servlet-name>error</servlet-name>
315
        <servlet-class>edu.ucsb.nceas.metacat.portal.FailureServlet</servlet-class>
316
        <load-on-startup>1</load-on-startup>
317
    </servlet>
318
    <servlet-mapping>
319
        <servlet-name>error</servlet-name>
320
        <url-pattern>/error</url-pattern>
321
    </servlet-mapping>
291 322
      
292 323
    <session-config>
293 324
      <session-timeout>30000</session-timeout>
294 325
    </session-config>
326
    
327
    <listener>
328
        <listener-class>edu.uiuc.ncsa.myproxy.oa4mp.client.loader.ClientBootstrapper</listener-class>
329
    </listener>
295 330

  
331
	<!-- TODO: make relative path if possible -->
332
	<context-param>
333
        <param-name>oa4mp:client.config.file</param-name>
334
        <param-value>/var/lib/tomcat6/webapps/knb/WEB-INF/oa4mp_client.xml</param-value>
335
    </context-param>
296 336
    
337
    <!-- end MyProxy section -->
338
    
297 339
   <!-- currently the W3C havent settled on a media type for WSDL;
298 340
    http://www.w3.org/TR/2003/WD-wsdl12-20030303/#ietf-draft
299 341
    for now we go with the basic 'it's XML' response -->

Also available in: Unified diff