File tree Expand file tree Collapse file tree 2 files changed +19
-4
lines changed
src/main/java/org/nhindirect/config/springconfig Expand file tree Collapse file tree 2 files changed +19
-4
lines changed Original file line number Diff line number Diff line change 33 <modelVersion >4.0.0</modelVersion >
44 <groupId >org.nhind</groupId >
55 <artifactId >config-service-jar</artifactId >
6- <version >8.1.1 </version >
6+ <version >8.1.2 </version >
77 <packaging >jar</packaging >
88 <name >NHIN Direct Java RI config service jar</name >
99 <description >NHIN Direct Java RI config service jar.</description >
6262 <dependency >
6363 <groupId >org.nhind</groupId >
6464 <artifactId >direct-common</artifactId >
65- <version >8.1.0 </version >
65+ <version >8.1.2 </version >
6666 </dependency >
6767 <dependency >
6868 <groupId >commons-net</groupId >
162162 </goals >
163163 </execution >
164164 </executions >
165- </plugin >
165+ </plugin >
166+ <!-- for releases only
166167 <plugin>
167168 <groupId>org.apache.maven.plugins</groupId>
168169 <artifactId>maven-gpg-plugin</artifactId>
176177 </execution>
177178 </executions>
178179 <version>3.0.1</version>
179- </plugin >
180+ </plugin>
181+ -->
180182 <plugin >
181183 <groupId >org.sonatype.central</groupId >
182184 <artifactId >central-publishing-maven-plugin</artifactId >
Original file line number Diff line number Diff line change @@ -49,6 +49,19 @@ public KeyStoreProtectionManager hsmKeyStoreProtectionManager()
4949 {
5050 log .info ("HSM configured. Attempting to connect to device." );
5151
52+ // Special case for String "null" so the source string can be set to null if needed
53+ if (keyStoreSourceAsString .equalsIgnoreCase ("null" ))
54+ keyStoreSourceAsString = null ;
55+
56+ StringBuilder builder = new StringBuilder ("HSM configuration details: \r \n " );
57+ builder .append ("\t keyStoreType: " ).append (keyStoreType ).append ("\r \n " );
58+ builder .append ("\t keyStoreSourceAsString: " ).append (keyStoreSourceAsString ).append ("\r \n " );
59+ builder .append ("\t keyStoreProviderName: " ).append (keyStoreProviderName ).append ("\r \n " );
60+ builder .append ("\t keyStorePassPhraseAlias: " ).append (keyStorePassPhraseAlias ).append ("\r \n " );
61+ builder .append ("\t initOnStart: " ).append (initOnStart ).append ("\r \n " );
62+
63+ log .info (builder .toString ());
64+
5265 try
5366 {
5467 final BootstrappedPKCS11Credential cred = new BootstrappedPKCS11Credential (keyStorePin );
You can’t perform that action at this time.
0 commit comments