1.1.1

Table Of Contents
DescriptionOption
Include the external option to encrypt and store a password
within the SQLFire distributed system, for use with external resources
external
accessed by DBSynchronizer or a custom AsynchEventListener
implementation. See Conguring DBSynchronizer on page 205 or
Implementing an AsyncEventListener on page 198 for more
information.
When you specify this option, you must supply additional options
to connect to a running SQLFire distributed system (either the
-locators option or -mcast-port and
-mcast-address). The distributed system generates a private
key in the data dictionary to encrypt the password. You can use the
AsyncEventHelper.decryptPassword method
to decrypt the password in your AsyncEventListener implementation,
in order to authenticate with an external data source.
This option can also be used in conjunction with the
-transformation and -keysize options, described
below.
Note: Each SQLFire distributed system generates its own
private key, and the encrypted value is specic to a particular
distributed system. The key is regenerated if, for example,
the data dictionary becomes corrrupted and a new data
dictionary is created. In this case, you would need to generate
new encrypted passwords using sqlf
encrypt-password.
This option is only used in combination with the -external
option. The transformation to use for symmetric key encryption (the
-transformation
encryption algorithm name). SQLF uses an AES encryption key
factory by default. The following algorithm names are supported:
AES
ARCFOUR
DES
DESede
PBKDF2WithHmacSHA1
PBEWith<digest>And<encryption>
PBEWith<prf>And<encryption>
The last two algorithms dene a factory to use for PKCS5 encryption.
Specify an encryption algorithm name as well as a digest or
PseudoRandom Function (PRF) to congure the factory (for example,
PBEWithMD5AndDES).
See the Java Cryptography Architecture Sun Providers
Documentation for more information about these algorithms.
This option is only used in combination with the -external
option. The key size to use for the encryption key. The default is 128
bits.
-keysize
vFabric SQLFire User's Guide372
vFabric SQLFire Reference