1. General Information
First of all, please make sure to read the chapter on General Information for all deegreeTools.
The program adds all requestable layers of a WMS into deegree's user and rights management system. Especially if a WFS contains a largenumber of layers (we know deegree WFS instances providing several hundred layers) it is cumbersome to add each layer manualy into deegree's user and rights management system. Registering layers can be simplified by using this program.
3. Library Dependancies
database specific libs
PostgreSQL with Postgis extension
The program will be invoked as follows:
java -classpath deegree2.jar org.deegree.tools.security.WFSFeatureTypeImporter -WFSAddress http://demo.deegree.org/deegree-wfs/services -Driver org.postgresql.Driver -URL jdbc:postgresql://localhost:5432/security -DBUserName postgres -DBUserPassword postgres -SecAdminPassword JOSE67
following parameters must be set:
- must be a valid URL to a WFS
- JDBC database driver class
- JDBC URL of the rights managment DB
- name of DB-user
- password of DB-user
- password of rights managment admin
look for other deegreeTools