-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Security realms ssl truststore commands #116
Security realms ssl truststore commands #116
Conversation
Yea, LGTM. Please rebase on current master. |
7e0939b
to
38e601f
Compare
Rebased. |
Note this is meant as simple commands, which could be later reused in more complex commands as adding https for undertow or as part of management interface. |
|
||
@Override | ||
public AddTruststoreAuthentication build() { | ||
if (truststorePath != null && truststorePassword == null) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
truststorePath is optional, for example in case of PKCS11 you dont have to specify truststorePath. Please leave just if (truststorePassword == null) {
with message "truststorePassword is manadatory when defining truststore"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense, done.
38e601f
to
871193e
Compare
As there was only one minor improvement requested, I've already squashed the change. |
Aye, thanks @mchoma. I've briefly considered asking someone else to review, but forgot about it before I finished reading through the code. |
Thanks! |
Added commands for defining truststore and keystores under security realm.