Am 08.11.2011 12:42, schrieb jo:
I would like to use both authentication systems; i.e. sso authentication
and default soprovider authentication when the user is not present into
local database (users).
You can create your own sso identity provider by subclassing
soprovider.SqlObjectIdentityProvider and overriding the
validate_identity() method.
You need to set your provider in app.cfg, like:
identity.provider = 'sso'
And create an entry point "sso" in setup.py:
entry_points = {
'console_scripts': [
'start-yourprojectname = yourprojectname.command:start',
],
'turbogears.identity.provider': [
'sso = yourprojectname.ssoprovider:SSOIdentityProvider',
],
},
-- Christoph
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en.