Skip to content

anhtv08/angular_bootstrap_spring

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 

Repository files navigation

angular_bootstrap_spring

Angular JS with Bootstrap and Spring 4 and Spring Security

This example is an angular js single page application (SPA) with bootstrap for the widgets and styling.

Spring 4: Used to create RESTful controller interfaces which in turn gets called through ajax requests.

Spring Security 3: Uses a simple setup with a http basic entry point configured that will always return http status unauthorised (401), this will result in angular js intercepting the response and if a 401 is detected an login event will be fired. A basic authentication will be triggered and the user credentials will be validated against the user service that is specified in the spring security config. Spring Security session management is being used.

Login Details as per spring security configuration:
Username = user
Password = password

Testing

Simply run on the parent pom
mvn clean install

This will execute Java and Jasmine tests that will test both java classes and angular js files.

About

Angular JS with Bootstrap and Spring 4 and Spring Security 3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 50.2%
  • JavaScript 48.3%
  • CSS 1.5%