Demo samples from Microservice Security talk by Dave Syer at SpringOne2GX 2014. Slides here: http://presos.dsyer.com/decks/microservice-security.html.
Contents:
-
./demo/app.groovy
: the HTTP Basic auth sample app. Start it with Spring Boot CLI -
./certs
: the X.509 authentication example. Start theApplication
class as a Spring Boot app (main method), and look at the tests and slides for how to log into it with the certificates insrc/main/resources
-
/pairs/spring-session
: the Spring Session demo, using a shared cookie as an authentication token between a front end UI and a back end service