Java Module Help

LabKey Support Forum
Java Module Help jeckels  2011-07-27 17:50
Status: Closed
 
Hi Trent,

For security reasons, we don't automatically expose all of the schemas and tables in the underlying database. In many cases, for example, the schema won't include a container column and you don't want a user who has access to any folder on the server to be able to access it.

If you have Java code, you can choose how to expose your tables. The simplest example is in org.labkey.api.module.SimpleModule - check out the startupAfterSpringConfig() method. It exposes all of the underlying database schemas that the module declares.

Thanks, Josh