<role
name="org.apache.fulcrum.pbe.PBEService"
shorthand="PBEService"
default-class="org.apache.fulcrum.pbe.PBEServiceImpl"
early-init="true"
component-type="merlin"
description="Provides Password Based Encyrption using JCA/JCE"
/>
The configuration parameters are basically used to make the service compatible with existing applications using password based encryption.
| Item | Datatype | Optional | Description |
|---|---|---|---|
| cryptoAlgorithm | String | Y | Defines the JCE provider to be used. Depending on your environement you leave it empty to get an appropriate implementation automatically or use "SunJCE" or "BC" |
| cryptoSalt | String | Y | Contains the hex-encoded salt for PBE |
| cyrptoCount | int | Y | Defines the count for PBEParameterSpec |
| passwordCount | int | Y | Defines the number of SHA-1 invocations to create the password. Changing this value creates completely different passwords. |