[opencms-dev] How can a guest user do a password change?

Alexander Kandzior alex at opencms.org
Tue Feb 4 09:25:28 CET 2020


Reinhard,

For your case you need to create a JSP page on your website where the user can change the password.

You need to use the OpenCms JSP API, see https://documentation.opencms.org/opencms-documentation/typical-tasks/writing-jsps/index.html <https://documentation.opencms.org/opencms-documentation/typical-tasks/writing-jsps/index.html>.

An example of a basic login form (without the password changing stuff) is available here:

https://github.com/alkacon/apollo-template/blob/branch_10_5_x/org.opencms.apollo.template.core/resources/system/modules/org.opencms.apollo/functions/login.jsp <https://github.com/alkacon/apollo-template/blob/branch_10_5_x/org.opencms.apollo.template.core/resources/system/modules/org.opencms.apollo/functions/login.jsp>

Kind regards,
Alex.

-------------------
Alexander Kandzior

Alkacon Software - The OpenCms Experts                                                    
http://www.alkacon.com - http://www.opencms.org                                                          


> Am 03.02.2020 um 12:13 schrieb Windauer, Reinhard (LGL) <Reinhard.Windauer at lgl.bwl.de>:
> 
> Hello,
>  
> suppose a user in OpenCms 11 has no role (so no access to the workplace) but a group that allows him to see some hidden content after Login.
>  
> How can such a user (let’s call him guest) change his password (regular or if the password was forgotten)? 
> OpenCms 11 cares about users with roles (like authors), but what about guests?
> Freundliche Grüße
> 
> Reinhard Windauer
> 
> Landesamt für Geoinformation und 
> Landentwicklung Baden-Württemberg (LGL) 
> Abteilung 3 - Geodatenzentrum 
> Referat 32 
> Stuttgarter Straße 161 
> 70806 Kornwestheim
> ( Tel.: +49 (7154) 9598 681 
> - Fax: +49 (7154) 9598 92 681         
> + E-Mail: reinhard.windauer at lgl.bwl.de <mailto:reinhard.windauer at lgl.bwl.de> 
> & https://www.lgl-bw.de <https://www.lgl-bw.de/>
>  
>  
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev <http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20200204/376b4749/attachment.htm>


More information about the opencms-dev mailing list