Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
   * =============================================================================
   *   Copyright (c) 2007, The JASYPT team (
   *   Licensed under the Apache License, Version 2.0 (the "License");
   *   you may not use this file except in compliance with the License.
   *   You may obtain a copy of the License at
  *   Unless required by applicable law or agreed to in writing, software
  *   distributed under the License is distributed on an "AS IS" BASIS,
  *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  *   See the License for the specific language governing permissions and
  *   limitations under the License.
  * =============================================================================
 package org.jasypt.hibernate;

Constant names of the parameters that can be used by a jasypt type's typedef declaration in a Hibernate mapping.

Daniel Fernández Garrido
 public class ParameterNaming {


The registered name of an encryptor previously registered at the org.jasypt.hibernate.encryptor.HibernatePBEEncryptorRegistry.

Value = encryptorRegisteredName

     public static final String ENCRYPTOR_NAME = "encryptorRegisteredName";

The encryption algorithm.

Value = algorithm

     public static final String ALGORITHM = "algorithm";

The encryption password.

Value = password

     public static final String PASSWORD = "password";

The number of hashing iterations to be applied for obtaining the encryption key.

Value = keyObtentionIterations

     public static final String KEY_OBTENTION_ITERATIONS = 

The scale (numbers after the decimal point) to be used when storing decimal numbers.

Value = decimalScale

     public static final String DECIMAL_SCALE = 

Whether the calendar time zone should be stored with the date or not.

Value = storeTimeZone

     public static final String STORE_TIME_ZONE = 
    private ParameterNaming() {}
New to GrepCode? Check out our FAQ X