Changeset 5223
- Timestamp:
- 24/04/09 10:25:49 (12 years ago)
- Location:
- TI12-security/trunk/python
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
TI12-security/trunk/python/ndg.security.client/setup.cfg
r5220 r5223 17 17 18 18 [egg_info] 19 #tag_build = 19 tag_build = rc1 20 20 tag_svn_revision = true 21 21 -
TI12-security/trunk/python/ndg.security.common/setup.cfg
r5220 r5223 17 17 18 18 [egg_info] 19 #tag_build = 19 tag_build = rc1 20 20 tag_svn_revision = true 21 21 -
TI12-security/trunk/python/ndg.security.server/ndg/security/server/wsgi/authn.py
r5181 r5223 146 146 HTTP 401 Unauthorized response detected in the middleware chain 147 147 """ 148 log.debug(" AuthNMiddleware.checker received status %r, "149 "headers %r", status, headers)148 log.debug("%s.checker received status %r, " 149 "headers %r", cls.__name__, status, headers) 150 150 151 151 if status.startswith(cls.triggerStatus): 152 log.debug("%s.checker returning True" % cls.__name__) 152 log.debug("%s.checker caught status %s: invoking authentication " 153 "handler", cls.__name__, cls.triggerStatus) 153 154 return True 154 155 else: 155 log.debug("%s.checker returning False" % cls.__name__)156 log.debug("%s.checker skipping status %s", cls.__name__, status) 156 157 return False 157 158 -
TI12-security/trunk/python/ndg.security.server/ndg/security/server/wsgi/openid/provider/authninterface/basic.py
r5222 r5223 139 139 @raise AuthNInterfaceConfigError: error with configuration 140 140 """ 141 super(BasicSessionManagerOpenIDAuthNInterface, self).__init__(**prop) 142 143 # Filter out BasicAuthNInterface properties ready for call to Session 144 # Manager client 145 for p in prop.keys(): 146 if p in BasicAuthNInterface.propertyKeyNames: 147 prop.pop(p) 141 user2Identifier = prop.pop('username2UserIdentifiers') 142 if user2Identifier: 143 self._username2Identifier = {} 144 for i in user2Identifier.split(): 145 username, identifierStr = i.strip().split(':') 146 identifiers = tuple(identifierStr.split(',')) 147 self._username2Identifier[username] = identifiers 148 else: 149 raise AuthNInterfaceConfigError('No "user2Identifier" config ' 150 'option found') 148 151 149 152 self._client = WSGISessionManagerClient(**prop) -
TI12-security/trunk/python/ndg.security.server/setup.cfg
r5220 r5223 16 16 17 17 [egg_info] 18 #tag_build = 18 tag_build = rc1 19 19 tag_svn_revision = true 20 20 -
TI12-security/trunk/python/ndg.security.test/ndg/security/test/integration/authz/securedapp.py
r5186 r5223 8 8 __date__ = "20/11/08" 9 9 __copyright__ = "(C) 2009 Science and Technology Facilities Council" 10 __license__ = "BSD - See top-level directory for LICENSE file" 10 11 __contact__ = "Philip.Kershaw@stfc.ac.uk" 11 12 __revision__ = "$Id$" -
TI12-security/trunk/python/ndg.security.test/ndg/security/test/sslclientauthnmiddleware/ndgsecurity.wsgi
r4611 r5223 28 28 29 29 30 NERC Data Grid Project 31 32 This software may be distributed under the terms of the Q Public License, 33 version 1.0 or later. 30 NERC DataGrid Project 34 31 """ 35 32 __author__ = "P J Kershaw" 36 33 __date__ = "11/12/08" 37 __copyright__ = "(C) 2008 STFC & NERC" 34 __copyright__ = "(C) 2009 STFC & NERC" 35 __license__ = "BSD - see LICENSE file in top-level directory" 38 36 __contact__ = "Philip.Kershaw@stfc.ac.uk" 39 37 __revision__ = "$Id$" -
TI12-security/trunk/python/ndg.security.test/setup.cfg
r5220 r5223 10 10 # version 1.0 or later. 11 11 [egg_info] 12 #tag_build = 12 tag_build = rc1 13 13 tag_svn_revision = true 14 14 -
TI12-security/trunk/python/ndg.security/setup.cfg
r5220 r5223 19 19 20 20 [egg_info] 21 #tag_build = 21 tag_build = rc1 22 22 tag_svn_revision = true 23 23
Note: See TracChangeset
for help on using the changeset viewer.