I have Geoserver set up in 4 environments, each one deployed into a Tomcat 
container on 4 separate servers. I have used JNDI in Tomcat to create the 
database connections as this does not need to be changed when Geoserver is 
updated.

Having done this then, each Geoserver instance has the same configuration.

Graham Humphries | Acting Manager Spatial Capability
Department of State Growth
4 Salamanca Place, Hobart TAS 7000 | GPO Box 536, Hobart TAS 7001
P: (03) 6166 3155
www.stategrowth.tas.gov.au<https://www.stategrowth.tas.gov.au/>
Courage to make a difference through
TEAMWORK | INTEGRITY | RESPECT | EXCELLENCE

In recognition of the deep history and culture of this island, I acknowledge 
and pay my respects to all Tasmanian Aboriginal people; the past, and present 
custodians of the Land.

From: christophe.garault....@orange.com <christophe.garault....@orange.com>
Sent: Tuesday, February 20, 2024 2:27 AM
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] How to parameterize password of a datastore ?

You don't often get email from 
christophe.garault....@orange.com<mailto:christophe.garault....@orange.com>. 
Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>
Hi all,

Is there a way to parameterize the password field of a datastore as with others 
fields as shown in the doc 
(https://docs.geoserver.org/latest/en/user/datadirectory/configtemplate.html)
We have several environments which doesn't necessarily have the same password.

I tried to set something like this without any success in the properties file:
database.passwd=crypt1:xxxxxxx



Thanks in advance

Regards,
-
Christophe GARAULT

____________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc

pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler

a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,

Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.



This message and its attachments may contain confidential or privileged 
information that may be protected by law;

they should not be distributed, used or copied without authorisation.

If you have received this email in error, please notify the sender and delete 
this message and its attachments.

As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.

Thank you.

________________________________

CONFIDENTIALITY NOTICE AND DISCLAIMER
The information in this transmission may be confidential and/or protected by 
legal professional privilege, and is intended only for the person or persons to 
whom it is addressed. If you are not such a person, you are warned that any 
disclosure, copying or dissemination of the information is unauthorised. If you 
have received the transmission in error, please immediately contact this office 
by telephone, fax or email, to inform us of the error and to enable 
arrangements to be made for the destruction of the transmission, or its return 
at our cost. No liability is accepted for any unauthorised use of the 
information contained in this transmission.
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to