Skip to content

ghatchue/angular_bootstrap_spring

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 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

Build

To execute the build and run Java and Jasmine tests that will test both java classes and angular js files, run:

gradle clean build

To run the example in an embedded Jetty web container, run:

gradle jettyRunWar

The example will be available using a web browser at http://localhost:8080/abse/

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 47.0%
  • JavaScript 44.3%
  • Groovy 7.7%
  • CSS 1.0%