|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.tutorial.config.encrypted.EncryptedPropertyValueTutorial
@Document(title="Encrypting Property Values", sortKey="basics1200") @DocCategory(value="basics") public class EncryptedPropertyValueTutorial
This tutorial shows how property values can be encrypted.
Constructor Summary | |
---|---|
EncryptedPropertyValueTutorial() |
Method Summary | |
---|---|
void |
accessEncryptedPropertyValues() The security implementation to en- and decrypt values is configured via the service API. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EncryptedPropertyValueTutorial()
Method Detail |
---|
@DocChapter public void accessEncryptedPropertyValues()
META-INF/services/de.smartics.properties.api.core.security.PropertyValueSecuritythat contains the following information
de.smartics.properties.api.core.security.PropertiesBasedPropertyValueSecurity
The implementation requires to configure
META-INF/smartics-properties/security.properties
like this
de.smartics.properties.security.provider= de.smartics.properties.security.transformation=AES/ECB/PKCS5Padding de.smartics.properties.security.key=+pvrmeQCmtWmYVOZ57uuIQ== de.smartics.properties.security.algorithm=AES
Now let's have a look how we can access encrypted information.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |