This project is created to try out different features provided by the spring security.
I have the plan to do the following thing
- One RESTful entpoint to describe a service
- UserDetail Service for Authentication and Authorization
- Appling security to the service
You need the following packages to be installed:
- Java 7
- Tomcat 7
- Maven 3.0.5
- Git
After completing the prerequisites, you can follow the instructions to build the project.
git clone https://github.com/karasatishkumar/spring-security-lab.git
once you clone the project change the tomcat webapp path in your parent pom.xml. So that your wars will be get copied to webapp.
mvn clean install
One successfull built the project, you can start tomcat to test..
Pull requests are welcome.
- One servie has been created called the account.
- ControllerAdvice has been implemented to handle application exceptions and hook that up with HTTP status codes.