Configuration

Role Configuration

<role
    name="org.apache.fulcrum.pbe.PBEService"
    shorthand="PBEService"
    default-class="org.apache.fulcrum.pbe.PBEServiceImpl"
    description="Provides Password Based Encyrption using JCA/JCE"
/>
          

Component Configuration

The configuration parameters are basically used to make the service compatible with existing applications using password based encryption.

Item Datatype Optional Description
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.

Component Configuration Example

  <PBEService>
    <cryptoSalt>4463657541544141</cryptoSalt>
    <cyrptoCount>20</cyrptoCount>
    <cryptoProvider></cryptoProvider>
    <passwordCount>40</passwordCount>
  </PBEService>