[Geoserver-users] Connect to datastore in groovy wps script

Hi,

I am writing a groovy wps script that will insert some rows into a PostGIS database. However I can't find any samples that use geoserver datastore. I could read the datastore.xml file however password is encrypted.

How to open a connection to a defined geoserver postgis datastore into a WPS Groovy script ?

Thanks

Nicolas FORTIN

Développeur d’applications - AI
Laboratoire d’Acoustique Environnementale (LAE)
Ifsttar Nantes, Route de Bouaye, CS 4, 44344 Bouguenais Cedex

Activités du Laboratoire d’Acoustique Environnementale : www.lae.ifsttar.fr
Un logiciel open-source pour l’acoustique des salles : I-Simpa (i-simpa.ifsttar.fr)
Un logiciel open-source pour des études d’impact en milieu extérieur : NoiseM@anonymised.com (noisemap.orbisgis.org)