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 WMS contains a largenumber of layers (we know deegree WMS 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.
Another alternative is to use the GUI based ConfigTool.
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.WMSLayerImporter -WMSAddress http://demo.deegree.org/deegree-wms/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 WMS
- JDBC database driver class
- JDBC URL of the rights managment DB
- name of DB-user
- password of DB-user
- password of rights managment admin
- ..todo: oracle/postgres...
look for other deegreeTools