Set SBDG security SSL property to ensure auto-configuration of SSL is enabled and takes effect.
This commit is contained in:
@@ -61,19 +61,22 @@ import example.app.security.server.BootGeodeSecurityServerApplication;
|
||||
*/
|
||||
@DirtiesContext
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(classes = BootGeodeSecurityClientApplication.class)
|
||||
@SpringBootTest(
|
||||
classes = BootGeodeSecurityClientApplication.class,
|
||||
properties = "spring.boot.data.gemfire.security.ssl.environment.post-processor.enabled=true"
|
||||
)
|
||||
public class BootGeodeSecurityClientApplicationIntegrationTests extends ForkingClientServerIntegrationTestsSupport {
|
||||
|
||||
@Autowired
|
||||
@Qualifier("customersTemplate")
|
||||
@SuppressWarnings("unused")
|
||||
private GemfireTemplate customersTemplate;
|
||||
|
||||
@BeforeClass
|
||||
public static void startGeodeServer() throws IOException {
|
||||
startGemFireServer(BootGeodeSecurityServerApplication.class);
|
||||
}
|
||||
|
||||
@Autowired
|
||||
@Qualifier("customersTemplate")
|
||||
@SuppressWarnings("unused")
|
||||
private GemfireTemplate customersTemplate;
|
||||
|
||||
@Test
|
||||
public void dataReadNotAllowed() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user