org.jasypt.spring31.xml.encryption
Class EncryptionNamespaceHandler
Object
org.springframework.beans.factory.xml.NamespaceHandlerSupport
org.jasypt.spring31.xml.encryption.EncryptionNamespaceHandler
- All Implemented Interfaces:
- org.springframework.beans.factory.xml.NamespaceHandler
public final class EncryptionNamespaceHandler
- extends org.springframework.beans.factory.xml.NamespaceHandlerSupport
Namespace handler for jasypt's encryption namespace.
In order to use this namespace, add its XML schema declaration to your Spring
beans file like:
<beans xmlns="http://www.springframework.org/schema/beans"
...
xmlns:encryption="http://www.jasypt.org/schema/encryption"
...
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
...
http://www.jasypt.org/schema/encryption
http://www.jasypt.org/schema/encryption/jasypt-spring31-encryption-1.xsd
...">
This namespace offers the following elements for creating instances of specific jasypt artifacts
and add them to the Spring application context:
- Digesters
DigesterConfig
(simple, string, environment): <encryption:digester-config/>
ByteDigester
(pooled or standard, depending on selected pool size): <encryption:byte-digester/>
StringDigester
(pooled or standard, depending on selected pool size): <encryption:string-digester/>
- Util digester classes:
- PBE Encryption
PBEConfig
(simple, string, environment): <encryption:encryptor-config/>
ByteEncryptor
(pooled or standard, depending on selected pool size): <encryption:byte-encryptor/>
StringEncryptor
(pooled or standard, depending on selected pool size): <encryption:string-encryptor/>
BigIntegerEncryptor
(pooled or standard, depending on selected pool size): <encryption:big-integer-encryptor/>
BigDecimalEncryptor
(pooled or standard, depending on selected pool size): <encryption:big-decimal-encryptor/>
- Util encryptor classes:
- Properties management
EncryptableProperties
(equivalent to <util:properties/> adding property decryption): <encryption:encryptable-properties/>
org.jasypt.spring3.properties.EncryptablePropertyPlaceholderConfigurer
(equivalent to <context:property-placeholder/> adding property decryption): <encryption:encryptable-property-placeholder/>
org.jasypt.spring3.properties.EncryptablePropertyOverrideConfigurer
(equivalent to <context:property-override/> adding property decryption): <encryption:encryptable-property-override/>
- Since:
- 1.9.0
- Author:
- Daniel Fernández
Method Summary |
void |
init()
|
Methods inherited from class org.springframework.beans.factory.xml.NamespaceHandlerSupport |
decorate, parse, registerBeanDefinitionDecorator, registerBeanDefinitionDecoratorForAttribute, registerBeanDefinitionParser |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EncryptionNamespaceHandler
public EncryptionNamespaceHandler()
init
public void init()
Copyright © 2011 The JASYPT team. All Rights Reserved.