Edit guide and refactor example of Spring Boot auto-configuration for Apache Geode/Pivotal GemFire to include Security with Authentication.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
# Spring Boot application.properties containing Spring Data GemFire Security properties
|
||||
|
||||
spring.data.gemfire.security.username=test
|
||||
spring.data.gemfire.security.password=test
|
||||
@@ -1 +1,3 @@
|
||||
# Spring Boot application.properties containing Spring Data GemFire properties
|
||||
|
||||
spring.data.gemfire.cache.log-level=error
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
# Gfsh shell script to start a secure GemFire/Geode cluster
|
||||
|
||||
start locator --name=LocatorOne --classpath=${SBDG_HOME}/apache-geode-extensions/build/libs/apache-geode-extensions-1.0.0.BUILD-SNAPSHOT.jar --properties-file=${SBDG_HOME}/spring-geode-samples/boot/configuration/src/main/resources/geode/config/gemfire.properties
|
||||
connect --user=test --password=test
|
||||
start server --name=ServerOne --classpath=${SBDG_HOME}/apache-geode-extensions/build/libs/apache-geode-extensions-1.0.0.BUILD-SNAPSHOT.jar --properties-file=${SBDG_HOME}/spring-geode-samples/boot/configuration/src/main/resources/geode/config/gemfire.properties
|
||||
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
gfsh -e "run --file=${SBDG_HOME}/spring-geode-samples/boot/configuration/src/main/resources/geode/bin/start-secure-cluster.gfsh"
|
||||
#gfsh -e "run --file=/Users/jblum/pivdev/spring-boot-data-geode/spring-geode-samples/boot/configuration/src/main/resources/geode/bin/start-secure-cluster.gfsh"
|
||||
@@ -0,0 +1,7 @@
|
||||
# GemFire Properties
|
||||
|
||||
log-level=config
|
||||
security-manager=org.springframework.geode.security.TestSecurityManager
|
||||
#security-peer-auth-init=org.springframework.geode.security.TestAuthInitialize.create
|
||||
security-username=test
|
||||
security-password=test
|
||||
Reference in New Issue
Block a user