Can JDBC connection files contain computed properties?

浪尽此生 提交于 2019-12-05 17:47:46

I am guessing the "rcp" is a reference to the Rich Client Platform environment object variable, and perhaps .data is the property that points to the WEB-INF directory.

The documentation definitely is taunting us in places with unexplained remarks like this. I see some similar looking stuffs ( like ${rcp.*} )in the Lotus Expeditor documents http://publib.boulder.ibm.com/infocenter/ledoc/v6r2/index.jsp?topic=/com.ibm.rcp.tools.doc.admin/updatingclientconfigurationsusingmanualupdates.html - check that out. I found this little gem there:

the Lotus Expeditor platform uses the System property rcp.data to identify the location >of the workspace.

File f = new File( System.getProperty( "rcp.data" ) );

As far as I can tell, these variable strings have access to operating system environment variables, and to expeditor property variables. How this stuff got grafted into the domino/XPages system is not yet documented, but many folks in the Expeditor team are now on the XSP team. Here's the clues I could find in the Expeditor docuemntation:

The placeholder ${env.”system environmental variable”} is used to specify the use of a >system environmental variable.

The placeholder ${prop.”rcplauncher_property”} is used to specify the use of a property >from rcplauncher.properties.

So perhaps you could put credentials in rcplauncher.properties and refer to them via ${prop.*} variables.

There is a core XPages runtime fix required to remedy this. By core I mean something that cannot be fixed purely in the XPages Extension Library. Thus the fix will only be available in the next full Domino release.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!