-
Notifications
You must be signed in to change notification settings - Fork 602
Spring code samples refresh + overall refresh of deps #702
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
Changes from 14 commits
28293bf
75426ea
d8271d8
021c821
875c1d0
eb35267
306bade
675f407
748cf94
d726683
2e2d45e
73b29fd
47119be
c49b064
2c0ccc9
cc9a0ca
031e9fb
c9be7c2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| <component name="ProjectRunConfigurationManager"> | ||
| <configuration default="true" type="JUnit" factoryName="JUnit"> | ||
| <option name="MAIN_CLASS_NAME" value="" /> | ||
| <option name="METHOD_NAME" value="" /> | ||
| <option name="TEST_OBJECT" value="class" /> | ||
| <option name="VM_PARAMETERS" value="-ea -Djava.net.preferIPv4Stack=true" /> | ||
| <method v="2"> | ||
| <option name="Make" enabled="true" /> | ||
| </method> | ||
| </configuration> | ||
| </component> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -97,12 +97,13 @@ private Config createMemberConfig(String storeName, String memberRealmAllowedSan | |
| .setProperty("hazelcast.phone.home.enabled", "false"); | ||
| JoinConfig joinConfig = config.getNetworkConfig().getJoin(); | ||
| joinConfig.getTcpIpConfig().setEnabled(true).addMember("127.0.0.1"); | ||
| config.getNetworkConfig().setSSLConfig(new SSLConfig()).getSSLConfig().setEnabled(true) | ||
| .setProperty("mutualAuthentication", "REQUIRED") // | ||
| .setProperty("keyStore", "src/" + storeName + ".p12") // | ||
| .setProperty("keyStorePassword", "123456") // | ||
| .setProperty("trustStore", "src/ca.p12") // | ||
| .setProperty("trustStorePassword", "123456"); | ||
| SSLConfig sslConf = config.getNetworkConfig().setSSLConfig(new SSLConfig()).getSSLConfig(); | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Reason: my local JDK got confused with types there, it's safer to extract a variable.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. JDK or IDE?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. JDK (built via maven) |
||
| sslConf.setEnabled(true) | ||
| .setProperty("mutualAuthentication", "REQUIRED") // | ||
| .setProperty("keyStore", "src/" + storeName + ".p12") // | ||
| .setProperty("keyStorePassword", "123456") // | ||
| .setProperty("trustStore", "src/ca.p12") // | ||
| .setProperty("trustStorePassword", "123456"); | ||
| SecurityConfig securityConfig = config.getSecurityConfig().setEnabled(true); | ||
| securityConfig.setMemberRealmConfig("memberRealm", | ||
| new RealmConfig().setJaasAuthenticationConfig(new JaasAuthenticationConfig().addLoginModuleConfig( | ||
|
|
||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| logging.level.root=OFF | ||
| spring.main.banner-mode=off | ||
| spring.main.web-application-type=none | ||
| spring.shell.interactive.enabled=true |
Uh oh!
There was an error while loading. Please reload this page.