Download oauth2 Free Java Code
Description
Spring Security OAuth2 sample with separate Resource and Auth servers.
Icons
Source Files
The download file oauth2-master.zip has the following entries.
README/*w ww . ja v a 2s . c o m*/
db.sql
db_data.sql
oauth_client.sql
oauthdb.sql
resource/.springBeans
resource/pom.xml
resource/src/main/java/org/springframework/security/oauth/examples/sparklr/PhotoInfo.java
resource/src/main/java/org/springframework/security/oauth/examples/sparklr/PhotoService.java
resource/src/main/java/org/springframework/security/oauth/examples/sparklr/PhotoServiceUser.java
resource/src/main/java/org/springframework/security/oauth/examples/sparklr/impl/PhotoServiceImpl.java
resource/src/main/java/org/springframework/security/oauth/examples/sparklr/mvc/PhotoController.java
resource/src/main/java/org/springframework/security/oauth/examples/sparklr/mvc/PhotoServiceUserController.java
resource/src/main/resources/commons-logging.properties
resource/src/main/resources/org/springframework/security/oauth/examples/sparklr/impl/resources/photo1.jpg
resource/src/main/resources/org/springframework/security/oauth/examples/sparklr/impl/resources/photo2.jpg
resource/src/main/resources/org/springframework/security/oauth/examples/sparklr/impl/resources/photo3.jpg
resource/src/main/resources/org/springframework/security/oauth/examples/sparklr/impl/resources/photo4.jpg
resource/src/main/resources/org/springframework/security/oauth/examples/sparklr/impl/resources/photo5.jpg
resource/src/main/resources/org/springframework/security/oauth/examples/sparklr/impl/resources/photo6.jpg
resource/src/main/resources/simplelog.properties
resource/src/main/webapp/WEB-INF/spring-servlet.xml
resource/src/main/webapp/WEB-INF/web.xml
resource/src/main/webapp/images/bg.gif
resource/src/main/webapp/images/header.jpg
resource/src/main/webapp/sparklr_gadget.xml
sparklr/.springBeans
sparklr/pom.xml
sparklr/src/main/java/org/springframework/security/oauth/examples/sparklr/mvc/AccessConfirmationController.java
sparklr/src/main/java/org/springframework/security/oauth/examples/sparklr/mvc/AdminController.java
sparklr/src/main/java/org/springframework/security/oauth/examples/sparklr/oauth/SparklrUserApprovalHandler.java
sparklr/src/main/resources/commons-logging.properties
sparklr/src/main/resources/simplelog.properties
sparklr/src/main/webapp/LICENSE.txt
sparklr/src/main/webapp/WEB-INF/jsp/access_confirmation.jsp
sparklr/src/main/webapp/WEB-INF/jsp/oauth_error.jsp
sparklr/src/main/webapp/WEB-INF/spring-servlet.xml
sparklr/src/main/webapp/WEB-INF/web.xml
sparklr/src/main/webapp/browse.html
sparklr/src/main/webapp/images/bg.gif
sparklr/src/main/webapp/images/header.jpg
sparklr/src/main/webapp/index.jsp
sparklr/src/main/webapp/login.jsp
sparklr/src/main/webapp/request_token_authorized.jsp
sparklr/src/main/webapp/sparklr_gadget.xml
sparklr/src/main/webapp/style.css
sparklr/src/test/java/org/springframework/security/oauth2/provider/ServerRunning.java
sparklr/src/test/java/org/springframework/security/oauth2/provider/TestAdminEndpoints.java
sparklr/src/test/java/org/springframework/security/oauth2/provider/TestAuthorizationCodeProvider.java
sparklr/src/test/java/org/springframework/security/oauth2/provider/TestBootstrap.java
sparklr/src/test/java/org/springframework/security/oauth2/provider/TestClientCredentialsProvider.java
sparklr/src/test/java/org/springframework/security/oauth2/provider/TestImplicitProvider.java
sparklr/src/test/java/org/springframework/security/oauth2/provider/TestRefreshTokenSupport.java
sparklr/src/test/java/org/springframework/security/oauth2/provider/TestResourceOwnerPasswordProvider.java
sparklr/users.sql
tonr/.springBeans
tonr/pom.xml
tonr/src/main/java/org/springframework/security/oauth/examples/tonr/SparklrException.java
tonr/src/main/java/org/springframework/security/oauth/examples/tonr/SparklrService.java
tonr/src/main/java/org/springframework/security/oauth/examples/tonr/converter/AccessTokenRequestConverter.java
tonr/src/main/java/org/springframework/security/oauth/examples/tonr/impl/SparklrServiceImpl.java
tonr/src/main/java/org/springframework/security/oauth/examples/tonr/mvc/FacebookController.java
tonr/src/main/java/org/springframework/security/oauth/examples/tonr/mvc/SparklrController.java
tonr/src/main/resources/commons-logging.properties
tonr/src/main/resources/simplelog.properties
tonr/src/main/resources/sparklr.properties
tonr/src/main/webapp/LICENSE.txt
tonr/src/main/webapp/WEB-INF/jsp/facebook.jsp
tonr/src/main/webapp/WEB-INF/jsp/sparklr.jsp
tonr/src/main/webapp/WEB-INF/spring-servlet.xml
tonr/src/main/webapp/WEB-INF/web.xml
tonr/src/main/webapp/demo.html
tonr/src/main/webapp/images/bg.gif
tonr/src/main/webapp/images/header.jpg
tonr/src/main/webapp/images/xbg.gif
tonr/src/main/webapp/index.jsp
tonr/src/main/webapp/js/libs/jso.js
tonr/src/main/webapp/js/libs/json2.js
tonr/src/main/webapp/js/libs/localstorage.js
tonr/src/main/webapp/js/libs/modernizr-2.5.3.min.js
tonr/src/main/webapp/login.jsp
tonr/src/main/webapp/main.css
tonr/src/main/webapp/oauth_error.jsp
tonr/src/main/webapp/style.css
tonr/src/main/webapp/template.html
tonr/src/test/java/org/springframework/security/oauth/examples/tonr/ServerRunning.java
tonr/src/test/java/org/springframework/security/oauth/examples/tonr/TestAuthorizationCodeGrant.java
tonr/src/test/java/org/springframework/security/oauth/examples/tonr/TestBootstrap.java
tonr/src/test/java/org/springframework/security/oauth/examples/tonr/TestClientCredentialsGrant.java
tonr/src/test/java/org/springframework/security/oauth/examples/tonr/TestRefreshTokenGrant.java
tonr/src/test/java/org/springframework/security/oauth/examples/tonr/TestResourceOwnerPasswordGrant.java
Download
Click the following link to download oauth2-master.zip.
oauth2-master.zip