Changeset 6441 for TI12-security/trunk/NDGSecurity
- Timestamp:
- 29/01/10 16:33:44 (10 years ago)
- Location:
- TI12-security/trunk/NDGSecurity/python
- Files:
-
- 2 deleted
- 9 edited
- 2 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
TI12-security/trunk/NDGSecurity/python/ndg_security/setup.py
r6284 r6441 42 42 setup( 43 43 name = 'ndg_security', 44 version = '1. 4',44 version = '1.5', 45 45 description = 'NERC DataGrid Security Utilities', 46 46 long_description = _longDescription, -
TI12-security/trunk/NDGSecurity/python/ndg_security_client/setup.py
r6284 r6441 44 44 setup( 45 45 name = 'ndg_security_client', 46 version = '1. 4',46 version = '1.5', 47 47 description = 'NERC DataGrid Security Client side interface', 48 48 long_description = _longDescription, -
TI12-security/trunk/NDGSecurity/python/ndg_security_common/setup.py
r6284 r6441 69 69 setup( 70 70 name = 'ndg_security_common', 71 version = '1. 4',71 version = '1.5', 72 72 description = 'NERC DataGrid Security package containing common ' 73 73 'utilities used by both server and client ' -
TI12-security/trunk/NDGSecurity/python/ndg_security_server/ndg/security/server/wsgi/openid/provider/renderinginterface/genshi/templates/decide.html
r6440 r6441 81 81 information back to $c.oidRequest.trust_root and 82 82 return to this site? 83 <span> 84 <a href="javascript:;" title="Toggle help" onclick="toggleDiv(1,'approvalHelp','shown','hidden','div'); return false;"> 85 <img src="/layout/icons/help.png" alt="Toggle help" class="helpicon"/></a> 86 </span> 87 <div id="approvalHelp" class="hidden"> 88 <div class="helptxt"> 89 <p>You are logged in to this your home site but you 90 have not yet returned your OpenID to the site 91 requesting it, ${c.oidRequest.trust_root} so that 92 you are signed in there. Selecting "Yes" will 93 complete the sign in process redirecting your browser 94 to the requesting site and returning your OpenID, 95 $c.identityURI and any other personal details listed 96 above. 97 </p> 98 <p> 99 Select "No" to cancel this process. You will remain 100 logged in here at this your OpenID Provider site but 101 none of your details will not be passed back to the 102 requesting site ${c.oidRequest.trust_root}. 103 </p> 104 <p> 105 If you select the tickbox, 106 "Remember this decision for session duration" this 107 page will be skipped the next time you sign into 108 ${c.oidRequest.trust_root}. Note that this decision 109 is only remembered for as long as you are logged in here. 110 In some circumstances you will still be prompted with this 111 page regardless. This is the case if you didn't enter your 112 full OpenID to sign in. e.g. if you entered your home 113 institution URL, https://myorganisation.somewhere/ 114 instead of your full OpenID, 115 https://myorganisation.somewhere/my.name/ 116 </p> 117 </div> 118 </div> 83 119 </td> 84 120 </tr> -
TI12-security/trunk/NDGSecurity/python/ndg_security_server/ndg/security/server/wsgi/openid/relyingparty/signin_interface/genshi/__init__.py
r6271 r6441 32 32 propertyDefaults = { 33 33 'templateRootDir': DEFAULT_TEMPLATES_DIR, 34 'staticContentRootDir': DEFAULT_STATIC_CONTENT_DIR,34 'staticContentRootDir': None, 35 35 'baseURL': 'http://localhost', 36 36 'initialOpenID': '', … … 75 75 self.session = {'username': ''} 76 76 77 staticApp = StaticURLParser(self.staticContentRootDir) 78 self._app = Cascade([staticApp, self._app], catch=(404, 401)) 77 if self.staticContentRootDir is not None: 78 staticApp = StaticURLParser(self.staticContentRootDir) 79 self._app = Cascade([staticApp, self._app], catch=(404, 401)) 80 81 def _getStaticContentRootDir(self): 82 return self.__staticContentRootDir 83 84 def _setStaticContentRootDir(self, value): 85 if not isinstance(value, (basestring, type(None))): 86 raise TypeError('Expecting string or None type for ' 87 "'staticContentRootDir'; got %r" % type(value)) 88 89 if value is not None and not path.isdir(value): 90 raise AttributeError("'staticContentRootDir' setting %r is not a " 91 "valid directory" % value) 92 93 self.__staticContentRootDir = value 94 95 staticContentRootDir = property(_getStaticContentRootDir, 96 _setStaticContentRootDir, 97 doc="StaticContentRootDir's Docstring") 79 98 80 99 def _getLoader(self): -
TI12-security/trunk/NDGSecurity/python/ndg_security_server/ndg/security/server/wsgi/openid/relyingparty/signin_interface/genshi/templates/signin.html
r6440 r6441 17 17 </td> 18 18 <td align="right"> 19 <input type="submit" name="authform" value="Go"/> 19 <input type="submit" name="authform" value="Go"/> 20 <span> 21 <a href="javascript:;" title="Toggle help" onclick="toggleDiv(1,'aboutOpenID','shown','hidden','div'); return false;"> 22 <img src="/layout/icons/help.png" alt="Toggle help" class="helpicon"/></a> 23 </span> 20 24 </td> 21 25 </tr> … … 28 32 </tr> 29 33 </table> 34 <div id="aboutOpenID" class="hidden"> 35 <div class="helptxt"> 36 <p><a href="http://openid.net/get-an-openid/what-is-openid/>OpenID">OpenID</a> is a 37 technology which enables you to sign in at different websites using the same 38 identity. Rather than having to remember usernames/passwords for all the 39 different sites you register with, you can use a single identity URL called an 40 <em>OpenID</em> which is recognised by them all. The OpenID identifies you and 41 your home site where you have an account and can login. At a site like this one, 42 you can type in your OpenID, in the text box provided. When you select "Go", 43 your browser will redirect you to your home site (your <em>OpenID Provider</em>) so that 44 you can login. Once you've logged in, your home site will redirect you back to 45 this site. This site will recognise you as signed in so that you access secured resources. 46 </p> 47 <p>The default setting in the text box is the OpenID corresponding to this site. If 48 you have an account registered here you can simply select "Go" and you will be 49 redirected to the login page. You can also log in using an OpenID from another site but 50 please note that this site may restrict sign in to a list of trusted 51 OpenID Providers. If you have trouble using an OpenID with this site please contact the 52 site administrator. If you don't know what you OpenID is please get in touch with your 53 home site and find out if they can provide you with an OpenID. 54 </p> 55 </div> 56 </div> 30 57 </form> 31 58 </div> -
TI12-security/trunk/NDGSecurity/python/ndg_security_server/setup.py
r6299 r6441 64 64 setup( 65 65 name = 'ndg_security_server', 66 version = '1. 4',66 version = '1.5', 67 67 description = 'Server side components for running NERC DataGrid ' 68 68 'Security Services', -
TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/integration/authz_lite/securityservices.ini
r6440 r6441 35 35 port = %(portNum)s 36 36 37 # Provider borrows content from RP static content dir so the cascade is not 38 # needed(!) 37 # Uncomment and replace OpenIDProviderApp with OpenIDProviderFilterApp in the 38 # pipeline below if the RelyingParty filter is removed. The RelyingParty 39 # provides static content to both it and the Provider in this configuration. 40 # See the staticContentDir setting in the OpenIDRelyingPartyFilter section 39 41 #[filter-app:OpenIDProviderFilterApp] 40 42 #use = egg:Paste#httpexceptions … … 46 48 #use = egg:Paste#cascade 47 49 #app1 = OpenIDProviderStaticContent 48 #app2 = OpenIDProviderApp49 50 #catch = 404 50 51 # … … 123 124 124 125 openid.relyingparty.baseURL = %(authkit.openid.baseurl)s 126 127 # Uncomment to restrict sign in to a whitelist of trusted OpenID Providers. 125 128 #openid.relyingparty.idpWhitelistConfigFilePath = %(here)s/openidrelyingparty/ssl-idp-validator.xml 129 126 130 openid.relyingparty.signinInterfaceMiddlewareClass = ndg.security.server.wsgi.openid.relyingparty.signin_interface.genshi.GenshiSigninTemplate 127 openid.relyingparty.signinInterface.staticContentRootDir = %(here)s/openidrelyingparty/public 131 132 # Nb. in this configuration, this directory is provider static content for both 133 # this filter and the OpenID Provider app downstream in the WSGI stack. 134 openid.relyingparty.signinInterface.staticContentRootDir = %(here)s/public 135 128 136 openid.relyingparty.signinInterface.baseURL = %(openid.relyingparty.baseURL)s 129 137 openid.relyingparty.signinInterface.initialOpenID = %(openIDProviderIDSelectURI)s … … 133 141 #openid.relyingparty.signinInterface.leftLink = http://ndg.nerc.ac.uk/ 134 142 #openid.relyingparty.signinInterface.leftImage = %(openid.relyingparty.signinInterface.baseURL)s/layout/ndg_logo_circle.gif 143 144 # This setting will accept HTML mark-up 135 145 openid.relyingparty.signinInterface.footerText = This site is for test purposes only. <a class="FooterLink" href="http://openid.net/what/" target="_blank"><small>What is OpenID?</small></a> 136 146 openid.relyingparty.signinInterface.rightLink = http://ceda.ac.uk/ -
TI12-security/trunk/NDGSecurity/python/ndg_security_test/setup.py
r6284 r6441 20 20 setup( 21 21 name = 'ndg_security_test', 22 version = '1. 4',22 version = '1.5', 23 23 description = 'NERC DataGrid Security Unit tests', 24 24 long_description = 'Unit tests client - server side',
Note: See TracChangeset
for help on using the changeset viewer.