1.1 --- a/XSLForms/Resources/OpenIDLogin.py Sun Feb 03 00:13:42 2008 +0000
1.2 +++ b/XSLForms/Resources/OpenIDLogin.py Sun Feb 03 20:04:44 2008 +0000
1.3 @@ -1,7 +1,7 @@
1.4 #!/usr/bin/env python
1.5
1.6 """
1.7 -OpenID Login resources for XSLForms applications. These resources use "root"
1.8 +OpenID login resources for XSLForms applications. These resources use "root"
1.9 attributes on transaction objects, and therefore should be defined within the
1.10 appropriate resources in site maps.
1.11
1.12 @@ -22,11 +22,9 @@
1.13 """
1.14
1.15 from WebStack.Generic import ContentType, EndOfResponse
1.16 -from WebStack.Resources.OpenIDLogin import OpenIDLoginUtils
1.17 +from WebStack.Resources.OpenIDLogin import OpenIDLoginUtils, Authenticator
1.18 from XSLForms.Resources.WebResources import XSLFormsResource
1.19
1.20 -import WebStack.Resources.OpenIDRedirect # LoginRedirectResource
1.21 -
1.22 class OpenIDLoginResource(XSLFormsResource, OpenIDLoginUtils):
1.23
1.24 """
1.25 @@ -76,9 +74,7 @@
1.26 the transaction called "root".
1.27 """
1.28
1.29 - OpenIDLoginUtils.__init__(self, associations, use_redirect)
1.30 - self.app_url = app_url
1.31 - self.authenticator = authenticator
1.32 + OpenIDLoginUtils.__init__(self, app_url, authenticator, associations, use_redirect)
1.33
1.34 def select_activity(self, trans, form):
1.35 form.set_activity("login")