12.11.2014 Views

web server - Borland Technical Publications

web server - Borland Technical Publications

web server - Borland Technical Publications

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Security management with the Security Map<br />

where:<br />

-rolename<br />

-username<br />

-password<br />

-vaultfile (optional)<br />

-vpwd (optional)<br />

Resource role name to store in the resource vault.<br />

Resource username to associate with the resource role.<br />

Resource password to associate with the resource role.<br />

Path to the vault file you write the resource role(s) to. If not<br />

specified, ResourceVaultGen will attempt to write to the<br />

default resource vault file . If the vault file is does<br />

not already exist, a new vault file will be written to the<br />

specified location.<br />

Password to assign to the vault for access authorization. If<br />

not specified, the vault will be created without a password.<br />

Note<br />

When using ResourceVaultGen, ensure that the following jars are in your<br />

CLASSPATH:<br />

■<br />

■<br />

■<br />

■<br />

■<br />

■<br />

■<br />

■<br />

■<br />

■<br />

■<br />

lm.jar<br />

visiconnect.jar<br />

vbsec.jar<br />

jsse.jar<br />

jnet.jar<br />

jcert.jar<br />

jaas.jar<br />

jce1_2_1.jar<br />

sunjce_provider.jar<br />

local_policy.jar<br />

US_export_policy.jar<br />

If you fail to include these jars in your CLASSPATH when you attempt to generate a<br />

vault, you may end up with a vault file which is invalid. If you attempt to reuse the<br />

invalid vault file, you will encounter an EOFException. To resolve, delete the invalid<br />

vault file and regenerate with ResourceVaultGen, ensuring that you have the proper<br />

jars in your CLASSPATH.<br />

VisiConnect will use the vault if Security Map information is specified in at deployment<br />

time for a Resource Adapter. If the resource vault is password protected, VisiConnect<br />

will need to have the following property passed to it:<br />

-Dvisiconnect.resource.security.vaultpwd=<br />

If the resource vault is in a user specified location (-vaultfile ...), VisiConnect will need<br />

to have the following property passed to it:<br />

-Dvisiconnect.resource.security.login=<br />

262 BES Developer’s Guide

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!