Download spring security example Free Java Code
Description
An example application to experiment with Spring Security , Spring MVC, Tiles, Mockito and DbUnit.
Source Files
The download file spring-security-example-master.zip has the following entries.
.gitignore/* w w w. j av a 2s .co m*/
.springBeans
pom.xml
src/main/java/edu/umich/med/michr/scheduling/dao/AbstractBaseDao.java
src/main/java/edu/umich/med/michr/scheduling/dao/BaseDao.java
src/main/java/edu/umich/med/michr/scheduling/dao/UserDao.java
src/main/java/edu/umich/med/michr/scheduling/domain/AbstractPerson.java
src/main/java/edu/umich/med/michr/scheduling/domain/AbstractUser.java
src/main/java/edu/umich/med/michr/scheduling/domain/Role.java
src/main/java/edu/umich/med/michr/scheduling/domain/User.java
src/main/java/edu/umich/med/michr/scheduling/domain/security/AuthenticationUserDetails.java
src/main/java/edu/umich/med/michr/scheduling/helper/ExceptionType.java
src/main/java/edu/umich/med/michr/scheduling/helper/PersistentEnum.java
src/main/java/edu/umich/med/michr/scheduling/helper/PersistentEnumUserType.java
src/main/java/edu/umich/med/michr/scheduling/helper/ReflectionHelper.java
src/main/java/edu/umich/med/michr/scheduling/helper/ReflectionNoSuchMethodException.java
src/main/java/edu/umich/med/michr/scheduling/helper/ReflectionSecurityException.java
src/main/java/edu/umich/med/michr/scheduling/helper/RoleUserType.java
src/main/java/edu/umich/med/michr/scheduling/service/security/DatabaseUserDetailsService.java
src/main/java/edu/umich/med/michr/scheduling/service/security/EncryptionService.java
src/main/java/edu/umich/med/michr/scheduling/service/security/SpringSecurityUserLoginService.java
src/main/java/edu/umich/med/michr/scheduling/service/security/UserLoginService.java
src/main/java/edu/umich/med/michr/scheduling/web/AbstractController.java
src/main/java/edu/umich/med/michr/scheduling/web/HomeController.java
src/main/java/edu/umich/med/michr/scheduling/web/LoginController.java
src/main/resources/log4j.dtd
src/main/resources/log4j.xml
src/main/resources/messages_en.properties
src/main/resources/messages_tr.properties
src/main/resources/validatorMessages_en.properties
src/main/resources/validatorMessages_tr.properties
src/main/webapp/WEB-INF/.gitignore
src/main/webapp/WEB-INF/db/h2/schedulingDB.h2.db
src/main/webapp/WEB-INF/db/h2/schedulingDB.trace.db
src/main/webapp/WEB-INF/db/h2/test_data.sql
src/main/webapp/WEB-INF/db/h2/test_schema.sql
src/main/webapp/WEB-INF/spring/appServlet/localization-context.xml
src/main/webapp/WEB-INF/spring/appServlet/servlet-context.xml
src/main/webapp/WEB-INF/spring/appServlet/tiles-context.xml
src/main/webapp/WEB-INF/spring/hibernate-context.xml
src/main/webapp/WEB-INF/spring/root-context.xml
src/main/webapp/WEB-INF/spring/security-app-context.xml
src/main/webapp/WEB-INF/spring/spring.properties
src/main/webapp/WEB-INF/tiles.xml
src/main/webapp/WEB-INF/views/index.jsp
src/main/webapp/WEB-INF/views/master-views/footer.jsp
src/main/webapp/WEB-INF/views/master-views/header.jsp
src/main/webapp/WEB-INF/views/master-views/layout.jsp
src/main/webapp/WEB-INF/views/master-views/menu.jsp
src/main/webapp/WEB-INF/views/public/errors/403.jsp
src/main/webapp/WEB-INF/views/public/home.jsp
src/main/webapp/WEB-INF/views/public/loggedOut.jsp
src/main/webapp/WEB-INF/views/public/login.jsp
src/main/webapp/WEB-INF/views/public/registerUser.jsp
src/main/webapp/WEB-INF/views/secure/Administrator/home.jsp
src/main/webapp/WEB-INF/views/secure/home.jsp
src/main/webapp/WEB-INF/web.xml
src/test/java/edu/umich/med/michr/scheduling/dao/AbstractDaoTest.java
src/test/java/edu/umich/med/michr/scheduling/dao/UserDaoTest.java
src/test/java/edu/umich/med/michr/scheduling/helper/ReflectionHelperTest.java
src/test/java/edu/umich/med/michr/scheduling/service/security/DatabaseUserDetailsServiceTest.java
src/test/java/edu/umich/med/michr/scheduling/service/security/EncryptionServiceTest.java
src/test/java/edu/umich/med/michr/scheduling/service/security/SpringSecurityUserLoginServiceTest.java
src/test/java/edu/umich/med/michr/scheduling/test/util/DatabaseExportUtil.java
src/test/resources/DbPrototype/README.txt
src/test/resources/DbPrototype/protoTypeDbConnection-Context.xml
src/test/resources/DbPrototype/schedulingDB.h2.db
src/test/resources/DbPrototype/schedulingDB.trace.db
src/test/resources/DbSqlScripts/README.txt
src/test/resources/DbSqlScripts/test_data.sql
src/test/resources/DbSqlScripts/test_schema.sql
src/test/resources/DbUnitDataSets/testDb.dtd
src/test/resources/DbUnitDataSets/testDbFull.xml
src/test/resources/SpringContextSetUp/test-context-noDb-noSecurity.xml
src/test/resources/SpringContextSetUp/test-context-security.xml
src/test/resources/SpringContextSetUp/test-context-withDb-Security.xml
src/test/resources/SpringContextSetUp/test-context-withDb.xml
src/test/resources/log4j.dtd
src/test/resources/log4j.xml
src/test/resources/messages_en.properties
src/test/resources/messages_tr.properties
Download
Click the following link to download spring-security-example-master.zip.
spring-security-example-master.zip