11# spring-oauth-server
22Deep Integrate Spring Security & ; OAuth2
33
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 >
75
86<p >
97 spring-oauth-server is based on
108 <a href="https://github.com/spring-projects/spring-security-oauth/tree/master/spring-security-oauth2">spring-security-oauth2</a>,
119 but we do more useful extension as follow
1210</p >
1311<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>
1513 <li><p>Save Spring Security User data to database</p></li>
1614 <li><p>Save ClientDetails to database, and manage it</p></li>
1715 <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
2826 <ul>
2927 <li>JDK (1.8.0_40)</li>
3028 <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>
3631 </ul>
3732</div >
3833
@@ -46,19 +41,19 @@ Deep Integrate Spring Security & OAuth2
4641 make sure the computer install JAVA development environment(JDK,Maven,Tomcat,IDE...)
4742 </p></li>
4843 <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),
5045 run script order: initial_db.ddl -> oauth.ddl -> initial_data.ddl.
5146 </p></li>
5247 <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
5449 connection information(username, password).
5550 </p></li>
5651 <li><p>
5752 Use Maven import local project to IDE(for example: Intellij IDEA), Add Servlet-Container-Server(Tomcat),
5853 startup the server(make sure set project contextPath = 'spring-oauth-server').
5954 <br/>
6055 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.
6257 </p></li>
6358 <li><p>
6459 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
8782 <p>Project Blog address: <a href="http://andaily.com/blog/?cat=19">http://andaily.com/blog/?cat=19</a>(Chinese)</p>
8883 <p>More my open-source projects: <a href="http://andaily.com/my_projects.html">http://andaily.com/my_projects.html</a></p>
8984 <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>
9186 <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>
9287 <p>Expect your joining...</p>
9388</div >
0 commit comments