| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.elca.el4j.util.env.PropertyEncryptionUtil
public class PropertyEncryptionUtil
Utility to load a custom key from file (cryptor.properties). This is in a separate class to make it accessible from Override- and Placeholder-configurer and avoid code duplication.
| Field Summary | |
|---|---|
protected  String | 
m_defaultConfigFile
The default cryptor configuration file.  | 
| Constructor Summary | |
|---|---|
PropertyEncryptionUtil()
Constructor.  | 
|
| Method Summary | |
|---|---|
 void | 
deactivate()
Deactivate encryption features.  | 
 AbstractPropertyEncryptor | 
getCryptor()
Called to get the cryptor object managed by this class.  | 
 void | 
init(ApplicationContext ctx)
Set up encryption.  | 
 void | 
init(ApplicationContext ctx,
     String configFile)
 | 
 boolean | 
isActive()
 | 
 boolean | 
isInited()
 | 
 void | 
setSource(PasswordSource source)
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected String m_defaultConfigFile
| Constructor Detail | 
|---|
public PropertyEncryptionUtil()
| Method Detail | 
|---|
public boolean isInited()
public boolean isActive()
public void deactivate()
public void init(ApplicationContext ctx)
ctx - ModuleApplicationContext
public void init(ApplicationContext ctx,
                 String configFile)
ctx - ModuleApplicationContextconfigFile - Custom config file location.public AbstractPropertyEncryptor getCryptor()
public void setSource(PasswordSource source)
source - A custom PasswordSource
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||