Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uttesh/angularjerseyrestspringsecuritytemplate
Basic template for web application with front end angularJS framework and REST as backend with spring security, With Bootstrap 3.0 css and fontAwesome
https://github.com/uttesh/angularjerseyrestspringsecuritytemplate
Last synced: about 7 hours ago
JSON representation
Basic template for web application with front end angularJS framework and REST as backend with spring security, With Bootstrap 3.0 css and fontAwesome
- Host: GitHub
- URL: https://github.com/uttesh/angularjerseyrestspringsecuritytemplate
- Owner: uttesh
- License: unlicense
- Created: 2013-11-18T16:07:25.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2013-11-18T16:42:05.000Z (almost 11 years ago)
- Last Synced: 2023-04-05T18:55:12.105Z (over 1 year ago)
- Size: 594 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
AngularJS JERSEY REST SpringSecurity Template
=======================================Basic template for web application with front end angularJS framework and REST as backend with spring security, With Bootstrap 3.0 css and fontAwesome
Technologies
---------------------
1.Java 1.6
2.Spring 2.3.4
3.Spring Security 2
4.Jersey REST
5.Json
6.Angularjs
7.Jquery
8.Bootstrap 3.0 css
9.FontAwesome
10.Maven
This template provide the spring security login i.e no need to implement the role base code, By using spring security plugin we can achieve the role base implementation for application.
here frontend is handling by angularjs, i took angularjs seed sample and modified with Spring implemetation with jersey.
Flow
---------------Admin Role : admin can view all pages and components.
User Role : user can view/action related user role only.Login credentials for admin : admin/admin , user : user/user
when admin login it will load LoginController of app.js which angularjs controller and using $resource tag of angular which will call the spring jerseycontroller class and which validate the user with role.
Test
--------------URL : http://localhost:8080/AngularRESTSpringSecurity/#!/login
admin : we can see both admin and user panel windows
user : can see only user panel window.