Changeset 4900
- Timestamp:
- 02/02/09 16:27:33 (12 years ago)
- Location:
- TI12-security/trunk/python
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
TI12-security/trunk/python/ndg.security.common/ndg/security/common/X509.py
r4841 r4900 635 635 issuerX509Cert.dn == issuerX509Cert.issuer: 636 636 637 # If only one iteration occur ed then it must be a self637 # If only one iteration occurred then it must be a self 638 638 # signed certificate 639 639 raise SelfSignedCert("Certificate is self signed: [DN=%s]" % -
TI12-security/trunk/python/ndg.security.common/ndg/security/common/authz/pdp/browse.py
r4840 r4900 51 51 52 52 class InitSessionCtxError(PDPError): 53 'A problem occur ed initialising a session connection'53 'A problem occurred initialising a session connection' 54 54 def __init__(self, msg=None): 55 55 PDPError.__init__(self, msg or InitSessionCtxError.__doc__) 56 56 57 57 class AttributeCertificateRequestError(PDPError): 58 'A problem occur ed requesting a certificate containing authorisation roles'58 'A problem occurred requesting a certificate containing authorisation roles' 59 59 def __init__(self, msg=None): 60 60 PDPError.__init__(self,msg or AttributeCertificateRequestError.__doc__) -
TI12-security/trunk/python/ndg.security.common/ndg/security/common/authz/pdp/proftp.py
r4840 r4900 49 49 50 50 class InitSessionCtxError(PDPError): 51 'A problem occur ed initialising a session connection'51 'A problem occurred initialising a session connection' 52 52 def __init__(self, msg=None): 53 53 PDPError.__init__(self, msg or InitSessionCtxError.__doc__) 54 54 55 55 class AttributeCertificateRequestError(PDPError): 56 'A problem occur ed requesting a certificate containing authorisation roles'56 'A problem occurred requesting a certificate containing authorisation roles' 57 57 def __init__(self, msg=None): 58 58 PDPError.__init__(self,msg or AttributeCertificateRequestError.__doc__) -
TI12-security/trunk/python/ndg.security.server/ndg/security/server/sessionmanager.py
r4840 r4900 1110 1110 @type msg: basestring 1111 1111 @cvar msg: standard message to be raised for this exception""" 1112 msg = "An error occur ed with login"1112 msg = "An error occurred with login" 1113 1113 def __init__(self, *arg, **kw): 1114 1114 Exception.__init__(self, AuthNServiceError.msg, *arg, **kw) … … 1128 1128 database look-up. Raise from logon""" 1129 1129 msg = \ 1130 "An error occur ed retrieving information to check the login credentials"1130 "An error occurred retrieving information to check the login credentials" 1131 1131 1132 1132 class AuthNServiceInitError(AuthNServiceError): 1133 1133 """Error with initialisation of AuthNService. Raise from __init__""" 1134 msg = "An error occur ed with the initialisation of the Session " + \1134 msg = "An error occurred with the initialisation of the Session " + \ 1135 1135 "Manager's Authentication Service" 1136 1136 1137 1137 class AuthNServiceConfigError(AuthNServiceError): 1138 1138 """Error with Authentication configuration. Raise from __init__""" 1139 msg = "An error occur ed with the Session Manager's Authentication " + \1139 msg = "An error occurred with the Session Manager's Authentication " + \ 1140 1140 "Service configuration" 1141 1141 -
TI12-security/trunk/python/ndg.security.server/ndg/security/server/sso/sso/badc_site/templates/ndg/security/badcpage.kid
r4898 r4900 133 133 <div py:def="showLoginStatus" id="showLoginStatus"> 134 134 <a class="menu" py:if="getattr(c, 'loggedIn', False)" href="${g.ndg.security.server.sso.cfg.logoutURI}?r=${g.ndg.security.common.sso.state.b64encReturnToURL}">Log out</a> 135 <b py:if=" getattr(c, 'loggedIn', False)==False">Login</b>135 <b py:if="not getattr(c, 'loggedIn', False)">Login</b> 136 136 </div> 137 137 </html> -
TI12-security/trunk/python/ndg.security.server/ndg/security/server/sso/sso/badc_site/templates/ndg/security/error.kid
r4898 r4900 31 31 </div> 32 32 <div py:if="not c.xml"> 33 An internal error has occur ed. Please report the problem to your33 An internal error has occurred. Please report the problem to your 34 34 site administrator. 35 35 </div> -
TI12-security/trunk/python/ndg.security.server/ndg/security/server/sso/sso/controllers/logout.py
r4898 r4900 120 120 log.debug("LogoutController._redirect: no redirect URL set.") 121 121 response.status_code = 400 122 c.errorPageHeading = "Log out" 123 if getattr(c, "loggedIn", False): 124 c.xml = "Logged out" 125 else: 126 c.xml = ("An error occurred logging out. Please report the " 127 "problem to your site administrator") 128 122 129 return render('ndg.security.kid', 'ndg.security.error') -
TI12-security/trunk/python/ndg.security.server/ndg/security/server/sso/sso/lib/openid_util.py
r4898 r4900 39 39 self.providers = {} 40 40 self.loggedIn = False 41 self.errorPageHeading = '' 41 42 42 43 -
TI12-security/trunk/python/ndg.security.server/ndg/security/server/wsgi/openid/provider/__init__.py
r4863 r4900 732 732 "found in session") 733 733 return self._render.errorPage(environ, start_response, 734 "An internal error occur ed possibly due to a request "734 "An internal error occurred possibly due to a request " 735 735 "that's expired. Please retry from the site where " 736 736 "you entered your OpenID. If the problem persists " … … 760 760 log.error("Unexpected exception raised during " 761 761 "authentication: %s" % e) 762 msg = ("An internal error occur ed. "762 msg = ("An internal error occurred. " 763 763 "Please try again or if the problems persists " 764 764 "contact your system administrator.")
Note: See TracChangeset
for help on using the changeset viewer.