Trees | Index | Help |
---|
Package XSLForms :: Package Resources :: Module Login :: Class LoginRedirectResource |
|
LoginRedirectResource
--+
|
LoginRedirectResource
A redirect resource which uses dynamic knowledge about the URL space.
Method Summary | |
---|---|
Initialise the resource with the 'host', 'path_to_login' (the path from the root of the application to the login screen), and other LoginRedirectResource details. | |
Return the application URL, using 'trans' if necessary, in order to provide a complete URL to redirect an authenticated user to their originally requested page. | |
Return the login URL, using 'trans' if necessary, in order to provide a complete URL to redirect an authenticated user to their originally requested page. | |
Inherited from LoginRedirectResource | |
Respond using the given transaction 'trans'. | |
Write a confirmation page to 'trans' containing the 'redirect' URL which the client should be sent to upon logout. |
Class Variable Summary | |
---|---|
Inherited from LoginRedirectResource | |
str |
encoding = 'utf-8'
|
str |
logout_page = '\n<html>\n <head>\n <title>Logout</ti...
|
Method Details |
---|
__init__(self,
host,
path_to_login,
*args,
**kw)
|
get_app_url(self, trans)Return the application URL, using 'trans' if necessary, in order to provide a complete URL to redirect an authenticated user to their originally requested page. If the application URL is empty, any redirects will be within the same application, rather than to potentially completely different applications residing at arbitrary locations.
|
get_login_url(self, trans)Return the login URL, using 'trans' if necessary, in order to provide a complete URL to redirect an authenticated user to their originally requested page.
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Tue Sep 18 23:43:25 2007 | http://epydoc.sf.net |