Skip to content

Commit 6eb3862

Browse files
authored
Merge pull request #30 from DirectProjectJavaRI/develop
Releasing 8.1.2
2 parents 424cefa + 4ed8d28 commit 6eb3862

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

pom.xml

100755100644
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
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>
@@ -62,7 +62,7 @@
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>
@@ -162,7 +162,8 @@
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>
@@ -176,7 +177,8 @@
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>

src/main/java/org/nhindirect/config/springconfig/KeyStoreConfig.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff 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("\tkeyStoreType: ").append(keyStoreType).append("\r\n");
58+
builder.append("\tkeyStoreSourceAsString: ").append(keyStoreSourceAsString).append("\r\n");
59+
builder.append("\tkeyStoreProviderName: ").append(keyStoreProviderName).append("\r\n");
60+
builder.append("\tkeyStorePassPhraseAlias: ").append(keyStorePassPhraseAlias).append("\r\n");
61+
builder.append("\tinitOnStart: ").append(initOnStart).append("\r\n");
62+
63+
log.info(builder.toString());
64+
5265
try
5366
{
5467
final BootstrappedPKCS11Credential cred = new BootstrappedPKCS11Credential(keyStorePin);

0 commit comments

Comments
 (0)