Browse files

GERONIMO-6389 Obscuring Passwords Feature couldn't work (Patch from X…


Register {Configured} prefix to EncryptionManager while starting the server.

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent 0b01485 commit 9a930877a047348d82ba5b3b544ffa55af5b150f Haihong Xu committed Mar 21, 2013
@@ -29,6 +29,7 @@
import org.apache.geronimo.gbean.GBeanInfoBuilder;
import org.apache.geronimo.gbean.GBeanLifecycle;
import org.apache.geronimo.system.serverinfo.ServerInfo;
+import org.apache.geronimo.crypto.EncryptionManager;
* Like SimpleEncryption except it uses a stored secret key. If the key file is missing, it makes up a new one.
@@ -55,6 +56,7 @@ public ConfiguredEncryption(String path, ServerInfo serverInfo) throws IOExcepti
public void doStart() throws Exception {
+ EncryptionManager.setEncryptionPrefix("{Configured}", ce);
public void doStop() throws Exception {

0 comments on commit 9a93087

Please sign in to comment.