diff --git a/README.md b/README.md
index 6ca55b7..ea6b96d 100644
--- a/README.md
+++ b/README.md
@@ -74,7 +74,7 @@ java config版本
3. 创建MySQL数据库(默认数据库名oauth2_boot), 并运行相应的SQL脚本(脚本文件位于others/database目录),
运行脚本的顺序: initial_db.ddl -> oauth.ddl -> initial_data.ddl
-4. 修改application.properties(位于src/main/resources目录)中的数据库连接信息(包括username, password等)
+4. 修改application.properties(位于src/main/resources目录)中的数据库连接信息(包括username, password等),redis连接信息(包括host, port, password等)
5. 将本地项目导入到IDE(如Intellij IDEA)中, 可直接运行SpringOauthServerApplication.java
进行访问;或配置Tomcat(或类似的servlet运行服务器), 并启动Tomcat(默认端口为8080);
也可通过maven package命令将项目编译为jar文件(spring-oauth-server.jar),
diff --git a/pom.xml b/pom.xml
index 3f88324..1a4dd54 100644
--- a/pom.xml
+++ b/pom.xml
@@ -61,10 +61,10 @@
-
-
-
-
+
+ org.springframework.boot
+ spring-boot-starter-data-redis
+
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index a9fa91e..d1689fc 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -24,12 +24,11 @@ spring.security.oauth2.authorizationserver.issuer=http://127.0.0.1:${server.port
#
# Redis
#
-#spring.redis.host=localhost
-#spring.redis.port=6379
-#spring.redis.database=0
-#spring.redis.password=
-#spring.redis.timeout=2000
-#spring.redis.ssl=false
+spring.data.redis.host=localhost
+spring.data.redis.port=6379
+spring.data.redis.database=5
+spring.data.redis.password=
+spring.data.redis.timeout=2000
#
# Condition Config
# @since 2.1.0