2.4. JGroups ENCRYPT Protocol Deprecated
The JGroups
ENCRYPT
protocol has been deprecated, and should be replaced with either the SYM_ENCRYPT
or ASYM_ENCRYPT
protocols. Both of these protocols must be placed directly under NAKACK2
. Configuration details are provided in the Administration and Configuration Guide; however, example configurations for each protocol are shown below:
Example 2.1. SYM_ENCRYPT Configuration Example
<SYM_ENCRYPT sym_algorithm="AES" encrypt_entire_message="true" keystore_name="defaultStore.keystore" store_password="changeit" alias="myKey"/>
Example 2.2. ASYM_ENCRYPT Configuration Example
<ASYM_ENCRYPT encrypt_entire_message="true" sym_keylength="128" sym_algorithm="AES/ECB/PKCS5Padding" asym_keylength="512" asym_algorithm="RSA"/>