File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
src/org/openlowcode/tools/enc Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public class OLcEncrypter
4949 * @return the singleton encrypter
5050 */
5151 public static OLcEncrypter getEncrypter () {
52- if (singleton == null )
52+ if (singleton == null )
5353 singleton = new OLcEncrypter ();
5454 return singleton ;
5555 }
Original file line number Diff line number Diff line change 1010
1111package org .openlowcode .tools .enc ;
1212
13+ import java .util .logging .Logger ;
14+
15+
16+
1317/***
1418 * This class just holds the encoding key for 2-ways encoding. Recommendation is
1519 * for companies to override this class in their client and server build
1923 *
2024 */
2125public class OLcEncrypterString {
26+ private static Logger logger = Logger .getLogger (OLcEncrypterString .class .getName ());
27+
2228 /**
2329 * gets the encryption string
2430 *
2531 * @return the encryption string
2632 */
2733 protected static String getEncryptionString () {
34+ logger .severe ("Using default encryption key. This is not recommended for production purpose. Please refer to operation manual" );
2835 return "HeureuxQuiCommeUlysse" ;
2936 }
3037}
You can’t perform that action at this time.
0 commit comments