[Cartoweb-users] Help: User Management Plugin

Oliver Christen oliver.christen at camptocamp.com
Wed Nov 29 01:59:55 EST 2006


then you should extend the auth plugin and add the new functionnalities you 
need.
see 
http://www.cartoweb.org/doc/cw3.3/xhtml/dev.newplugin.html#dev.newplugin.adapting.extending

regards
Oliver

>
> in standard cw3 the auth Plugin didn't SUPPORT add/update/delete table
> user/roles but the auth plugin only check login or logout user. Any
> sugestion how to do to override the auth plugin to SUPPORT 
> add/update/delete
> table user/roles.....???
>
>
>
>
> oliver-7 wrote:
>>
>> There arent any tutorial, but it is quite clearly explained in the doc:
>> http://www.cartoweb.org/doc/cw3.3/xhtml/user.security.html#user.security.auth.users_roles
>>
>> in this exemple, a database's table 'users' simply contains a users,
>> passwords and roles column, and thats it.
>>
>> dbSecurityQueryUser: The SQL query to perform to check a 
>> username/password
>> pair is valid.
>> It should return a row if the pair is correct.
>> For instance: "SELECT * FROM users WHERE username='%s' AND 
>> password='%s'".
>>
>> dbSecurityQueryRoles: The SQL query used to retrieve roles for a given
>> user.
>> It should return one column with all roles for the user each row.
>> For instance: "SELECT roles FROM users WHERE username='%s'"
>>
>>
>>
>>>
>>> Is there any tutorial or works that explain the User Management Plugins
>>> via
>>> database...???
>>>
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/Help%3A-User-Management-Plugin-tf2715799.html#a7572148
>>> Sent from the cartoweb-users mailing list archive at Nabble.com.
>>>
>>> _______________________________________________
>>> Cartoweb-users mailing list
>>> Cartoweb-users at lists.maptools.org
>>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>>
>>
>> _______________________________________________
>> Cartoweb-users mailing list
>> Cartoweb-users at lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>
>>
>
> -- 
> View this message in context: 
> http://www.nabble.com/Help%3A-User-Management-Plugin-tf2715799.html#a7591785
> Sent from the cartoweb-users mailing list archive at Nabble.com.
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
> 



More information about the Cartoweb-users mailing list