Skip to content

Commit 2aebdcc

Browse files
authored
Merge pull request #16 from DirectProjectJavaRI/develop
Releasing 8.1.2
2 parents 129634a + e08c739 commit 2aebdcc

File tree

2 files changed

+17
-6
lines changed

2 files changed

+17
-6
lines changed

pom.xml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
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>
@@ -68,7 +68,7 @@
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>
@@ -129,7 +129,7 @@
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>
@@ -289,8 +289,7 @@
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>
@@ -304,7 +303,6 @@
304303
</execution>
305304
</executions>
306305
</plugin>
307-
-->
308306
<plugin>
309307
<groupId>org.sonatype.central</groupId>
310308
<artifactId>central-publishing-maven-plugin</artifactId>

src/main/java/org/nhindirect/gateway/springconfig/KeyStoreProtectionMgrConfig.java

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

0 commit comments

Comments
 (0)