-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #124 from Cinimex-Informatica/feature/issue119_tls…
…_support add TLS support
- Loading branch information
Showing
8 changed files
with
181 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
src/main/java/ru/cinimex/exporter/mq/MQSecurityProperties.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
package ru.cinimex.exporter.mq; | ||
|
||
public class MQSecurityProperties { | ||
private boolean useTLS; | ||
private String keystorePath; | ||
private String keystorePassword; | ||
private String truststorePath; | ||
private String truststorePassword; | ||
private String sslProtocol; | ||
private String cipherSuite; | ||
|
||
public MQSecurityProperties(boolean useTLS, String keystorePath, String keystorePassword, String truststorePath, String truststorePassword, String sslProtocol, String cipherSuite) { | ||
this.useTLS = useTLS; | ||
this.keystorePath = keystorePath; | ||
this.keystorePassword = keystorePassword; | ||
this.truststorePath = truststorePath; | ||
this.truststorePassword = truststorePassword; | ||
this.sslProtocol = sslProtocol; | ||
this.cipherSuite = cipherSuite; | ||
} | ||
|
||
public String getKeystorePath() { | ||
return keystorePath; | ||
} | ||
|
||
public String getKeystorePassword() { | ||
return keystorePassword; | ||
} | ||
|
||
public String getTruststorePath() { | ||
return truststorePath; | ||
} | ||
|
||
public String getTruststorePassword() { | ||
return truststorePassword; | ||
} | ||
|
||
public String getSslProtocol() { | ||
return sslProtocol; | ||
} | ||
|
||
public String getCipherSuite() { | ||
return cipherSuite; | ||
} | ||
|
||
public boolean isUseTLS() { | ||
return useTLS; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.