1
1
# spring-oauth-server
2
2
Deep Integrate Spring Security & ; OAuth2
3
3
4
- <p >
5
- Latest <a href="http://git.oschina.net/shengzhao/spring-oauth-server">http://git.oschina.net/shengzhao/spring-oauth-server</a>
6
- </p >
4
+ base on <strong >Spring-Boot</strong >
7
5
8
6
<p >
9
7
spring-oauth-server is based on
10
8
<a href="https://github.com/spring-projects/spring-security-oauth/tree/master/spring-security-oauth2">spring-security-oauth2</a>,
11
9
but we do more useful extension as follow
12
10
</p >
13
11
<ol >
14
- <li><p>Split Spring MVC configuration(wdcy-servlet.xml) and Oauth(security.xml) configuration</p></li>
12
+ <li><p>Split Spring MVC configuration and OAuth configuration</p></li>
15
13
<li><p>Save Spring Security User data to database</p></li>
16
14
<li><p>Save ClientDetails to database, and manage it</p></li>
17
15
<li><p>Extend ClientDetails fields, add <code>trusted</code> field for check the client is trust or not</p></li>
@@ -28,11 +26,8 @@ Deep Integrate Spring Security & OAuth2
28
26
<ul>
29
27
<li>JDK (1.8.0_40)</li>
30
28
<li>Servlet API (3.1.0)</li>
31
- <li>Spring (4.1.6.RELEASE)</li>
32
- <li>Spring Security (4.0.4.RELEASE)</li>
33
- <li>spring-security-oauth2 (2.0.14.RELEASE)</li>
34
- <li>Log4j (1.2.14)</li>
35
- <li>MySQL (5.6.23)</li>
29
+ <li>Spring Boot(2.0.1.RELEASE)</li>
30
+ <li>spring-security-oauth2 (2.3.0.RELEASE)</li>
36
31
</ul>
37
32
</div >
38
33
@@ -46,19 +41,19 @@ Deep Integrate Spring Security & OAuth2
46
41
make sure the computer install JAVA development environment(JDK,Maven,Tomcat,IDE...)
47
42
</p></li>
48
43
<li><p>
49
- Create MySql(5.0+) Database: <em>oauth2 </em>, run SQL script files(position: /others/database),
44
+ Create MySql(5.0+) Database: <em>oauth2_boot </em>, run SQL script files(position: /others/database),
50
45
run script order: initial_db.ddl -> oauth.ddl -> initial_data.ddl.
51
46
</p></li>
52
47
<li><p>
53
- Config <code>spring-oauth-server .properties</code> (position: src/main/resources), update database
48
+ Config <code>application .properties</code> (position: src/main/resources), update database
54
49
connection information(username, password).
55
50
</p></li>
56
51
<li><p>
57
52
Use Maven import local project to IDE(for example: Intellij IDEA), Add Servlet-Container-Server(Tomcat),
58
53
startup the server(make sure set project contextPath = 'spring-oauth-server').
59
54
<br/>
60
55
Besides, use maven command <code>mvn package</code> compile the project(generate 'spring-oauth-server.war'),
61
- copy the war to Tomcat(make sure add 'spring-oauth-server .properties' to classpath) and startup.
56
+ copy the war to Tomcat(make sure add 'application .properties' to classpath) and startup.
62
57
</p></li>
63
58
<li><p>
64
59
Visit <a href="https://github.com/monkeyk/spring-oauth-server/blob/master/others/oauth_test.txt">oauth_test.txt</a> (position: others)
@@ -87,7 +82,7 @@ Deep Integrate Spring Security & OAuth2
87
82
<p>Project Blog address: <a href="http://andaily.com/blog/?cat=19">http://andaily.com/blog/?cat=19</a>(Chinese)</p>
88
83
<p>More my open-source projects: <a href="http://andaily.com/my_projects.html">http://andaily.com/my_projects.html</a></p>
89
84
<p>More help please contact: <a href="mailto:[email protected] ">[email protected] </a></p>
90
- <p>项目中文GIT库地址: <a href="http ://git.oschina.net /shengzhao/spring-oauth-server">http ://git.oschina.net /shengzhao/spring-oauth-server</a></p>
85
+ <p>项目中文GIT库地址: <a href="https ://gitee.com /shengzhao/spring-oauth-server">https ://gitee.com /shengzhao/spring-oauth-server</a></p>
91
86
<p>Spring Security OAuth2 开发指南[中文] <a href="https://www.oschina.net/translate/spring-security-oauth-docs-oauth2">https://www.oschina.net/translate/spring-security-oauth-docs-oauth2</a></p>
92
87
<p>Expect your joining...</p>
93
88
</div >
0 commit comments