File tree Expand file tree Collapse file tree 2 files changed +17
-6
lines changed
src/main/java/org/nhindirect/gateway/springconfig Expand file tree Collapse file tree 2 files changed +17
-6
lines changed Original file line number Diff line number Diff line change 44 <modelVersion >4.0.0</modelVersion >
55 <artifactId >gateway</artifactId >
66 <name >Direct Project Agent Gateways.</name >
7- <version >8.1.0 </version >
7+ <version >8.1.2 </version >
88 <description >Direct Project security agent gateways and bridges.</description >
99 <inceptionYear >2010</inceptionYear >
1010 <url >https://github.com/DirectProjectJavaRI/gateway</url >
6868 <dependency >
6969 <groupId >org.nhind</groupId >
7070 <artifactId >agent</artifactId >
71- <version >8.1.0 </version >
71+ <version >8.1.2 </version >
7272 </dependency >
7373 <dependency >
7474 <groupId >org.nhind</groupId >
129129 <dependency >
130130 <groupId >org.nhind</groupId >
131131 <artifactId >config-service-jar</artifactId >
132- <version >8.1.0 </version >
132+ <version >8.1.2 </version >
133133 <scope >test</scope >
134134 </dependency >
135135 <dependency >
289289 </goals >
290290 </execution >
291291 </executions >
292- </plugin >
293- <!-- for release only
292+ </plugin >
294293 <plugin >
295294 <groupId >org.apache.maven.plugins</groupId >
296295 <artifactId >maven-gpg-plugin</artifactId >
304303 </execution >
305304 </executions >
306305 </plugin >
307- -->
308306 <plugin >
309307 <groupId >org.sonatype.central</groupId >
310308 <artifactId >central-publishing-maven-plugin</artifactId >
Original file line number Diff line number Diff line change @@ -50,6 +50,19 @@ public KeyStoreProtectionManager hsmKeyStoreProtectionManager()
5050 {
5151 log .info ("HSM configured. Attempting to connect to device." );
5252
53+ // Special case for String "null" so the source string can be set to null if needed
54+ if (keyStoreSourceAsString .equalsIgnoreCase ("null" ))
55+ keyStoreSourceAsString = null ;
56+
57+ StringBuilder builder = new StringBuilder ("HSM configuration details: \r \n " );
58+ builder .append ("\t keyStoreType: " ).append (keyStoreType ).append ("\r \n " );
59+ builder .append ("\t keyStoreSourceAsString: " ).append (keyStoreSourceAsString ).append ("\r \n " );
60+ builder .append ("\t keyStoreProviderName: " ).append (keyStoreProviderName ).append ("\r \n " );
61+ builder .append ("\t keyStorePassPhraseAlias: " ).append (keyStorePassPhraseAlias ).append ("\r \n " );
62+ builder .append ("\t initOnStart: " ).append (initOnStart ).append ("\r \n " );
63+
64+ log .info (builder .toString ());
65+
5366 try
5467 {
5568 final BootstrappedPKCS11Credential cred = new BootstrappedPKCS11Credential (keyStorePin );
You can’t perform that action at this time.
0 commit comments