source: TI12-security/trunk/python/ndg.security.test/ndg/security/test/integration/dap/template/index.tmpl @ 5280

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.test/ndg/security/test/integration/dap/template/index.tmpl@5280
Revision 5280, 2.3 KB checked in by pjkersha, 11 years ago (diff)

Further improvements to the authorization middleware:

  • PEPFilter no longer explicitly calls the PEPResultHandlerMiddleware (This latter class is the WSGI component which handles the access denied response that the server returns). This is not necessary as it can set a 403 response in order to trigger multiHandlerIntercept callback function set in the MultiHandler? instance. This responds to all 403 type status codes by invoking the PEPResultHandlerMiddleware.
  • ndg.security.common.authz.msi: improvements to the PDP, PIP and Response classes.
  • ndg.security.test.integration.dap: added integration test for secured pyDAP service
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
5<head>
6    <title>$title</title>
7    <link media="all, screen" href="ndg2.css" type="text/css" rel="stylesheet">
8</head>
9
10<body>
11    <div>
12        <div id="header"></div>
13        <div id="logo"><img src="NERC_Logo.gif" alt="Natural Environment Research Council"></div>
14    </div>
15    <h1>DODS directory for $location</h1>
16
17    <table>
18    #if $parent
19        <tr><td colspan="3"><a href="$parent">Parent directory</a></td></tr>
20    #end if
21
22    #for $dir in $dirs:
23        #set $dirname = '%s/' % $dir.split('/')[-1]
24        <tr><td colspan="3"><a href="$dir">$dirname</a></td></tr>
25    #end for
26   
27    #for $file in $files:
28        #set $filename = $file.split('/')[-1]
29        <tr>
30            <td>$filename</td>
31            <td><a href="${file}.dds">[<acronym title="Dataset Descriptor Structure">DDS</acronym>]</a></td>
32            <td><a href="${file}.das">[<acronym title="Dataset Attribute Structure">DAS</acronym>]</a></td>
33        </tr>
34    #end for
35    </table>
36
37       
38        <div id="Footer">
39
40        <center><table><tbody>
41            <tr>
42                <td width="60%" align="left">
43                    <table><tbody>
44                    <tr>
45                        <td><span>
46        <a href="http://ndg.nerc.ac.uk/"><image src="ndg_logo_circle.gif" alt="NDG" title="NDG"></image></a>
47    </span></td>
48                        <td>pyDAP OPeNDAP site for <a href="http://ndg.nerc.ac.uk">NERC DataGrid</a>
49
50                    This site is for test purposes only and is under active development.</td>
51                    </tr>
52                    </tbody></table>
53                </td>
54                <td width="40%" align="center">
55                    <div id="loginStatus">
56                        <a href="/logout">logout</a>
57                    </div>
58                </td>
59
60                <td align="right"><span>
61        <a href="http://www.stfc.ac.uk/"><image src="/stfc-circle-sm.gif" alt="Hosted by the STFC CEDA" title="Hosted by the STFC CEDA"></image></a>
62    </span></td>
63            </tr>
64        </tbody></table></center>
65    </div>
66</body>
67
68</html>
Note: See TracBrowser for help on using the repository browser.