I would proceed this way.
-after CAS registration, cas returns a token to your app ('username',
userid, 'email')
-check in your cas_user_organization is you have a record linking user
userid
-if not redirect the user to a page (in your app) that asks for the
info and stores it in a new record.
You cannot disable email verification without changing cas.
Massimo
On Dec 4, 6:37 am, annet <[EMAIL PROTECTED]> wrote:
> In my application I got a table listing organizations and tables with
> organization details such as addresses and telephone numbers. I would
> like to use CAS as a authentication system, but I do not now how to
> adjust its default behaviour without disrupting CAS or running into
> trouble with future releases of CAS.
>
> I would like to give people the opportunity to maintain their
> organization's data. Therefore, my application contains a form which
> requires them to fill in their organization's chamber of commerce
> registration number and some personal details.
>
> When they submit the form it's inserted into a separate database
> table, from which I will retrieve it and check that the data are
> consistent with the data of the Chamber of Commerce. After this check,
> I would like to insert a new user into cas_user, insert the remaining
> personal details into a table person, and connect the cas_user to the
> organization in a table called cas_user_organisation. This table has
> got the following fields: cas_user_id and organization_id. Finally I
> would like to send the registrant an e-mail with his username and
> password.
>
> I have no idea how to bend CAS and web2py to make this work, first
> there are the dependencies, I need the right cas_user_id and the right
> organization_id to connect the two together in the
> cas_user_organization table, and second CAS must not send the
> activation e-mail.
>
> I hope one of you can advise me how to proceed in implementing the use-
> case above.
>
> Annet.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---