Skip to content

Spring Security OAuth2 Mysql Mybatis REST Demo Web Project

Notifications You must be signed in to change notification settings

yks8890/SpringOAuth2RestDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpringOAuth2RestDemo 2

The project uses the following technologies:

  • Web/REST : Spring 3.2.14.RELEASE / Spring Security 3.1.0.RELEASE
  • database : Mysql 5.1.36 / Hibernate 5.3.4 RELEASE
  • Security : Oauth2 1.0.5.RELEASE
  • REST API
  • Tool : Eclipse NEON , Java 1.7

Build and Run

  1. Download SpringOAuth2RestDemo-master.zip
  2. Unzip SpringOAuth2RestDemo-master.zip
  3. Start Eclipse
  4. import -> Existing Maven Projects -> select 3 project (AuthServer, RESTClient, RESTServer)
  5. Edit db.properties

db.driver=com.mysql.jdbc.Driver
db.jdbcurl=jdbc:mysql:https://localhost:3306/oauthdb
db.username=root
db.password=root

  1. insert database DDL/DML
  2. Run on Server : AuthServer(404Error) -> RESTServer(404Error) -> RESTClient(Success View page)
    (Server : Tomcat 7 or Tomcat 8 .etc)

RESTClient server Result View