Re: [opencms-dev] Still trying to understand Advanced Web User Management....

Christian Steinert christian_steinert at web.de
Wed Jan 3 19:42:13 CET 2007


> -----Ursprüngliche Nachricht-----
> Von: The OpenCms mailing list <opencms-dev at opencms.org>
> Gesendet: 03.01.07 19:07:58
> An: "The OpenCms mailing list" <opencms-dev at opencms.org>
> Betreff: [opencms-dev] Still trying to understand Advanced Web User Management....

I have a requirement where I need some additional fields associated with a web user:
> 1. Credit Card info
> 2. Billing info for monthly subscription
> 3. login to restrict subscription directories
> 
> 
> 
> For #1 & #2, do I just create a custom jsp and a new table in my database?
yes


> Do I just create a custom login screen for #3? 
Either you need a login form or you change the login method to basic auth and the user gets a login request from the browser.

> How do I restrict access to a specific directory? Can I use Spring ACEGI?
This i don't know - the normal way is to change the permissions of the folders that belong to your protected area so that these files will not be readable by guest users but only by the user groups that you want.


I have not done this yet so I do not have the specific config setting at hand where you control the login behavior for files that a guest user cannot read (the settings which login method should be used and where in the VFS your login form is are in one of the XML configuration files of the opencms Web application)

hth
christian
______________________________________________________________________
XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!		
Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130




More information about the opencms-dev mailing list