B.3 Authentication

The GeoRaster REST API uses the HTTP Basic Authentication to control access by data source.

Users are configured in the web container (WebLogic) where the GeoRaster REST API is deployed. The user must have either a ADMIN role or a role with the same name as the data source to which the user is granted access.

For instance, the following is an example of a curl request to list all the resources (table and column) of a data source:

curl -H Cookie:JSESSIONID=<jsessionid_value> -X GET http://<host>:<port>/oraclespatial/georaster/v1/<data_source>