Giter Club home page Giter Club logo

spring-security-third-edition's Introduction

Spring Security 3rd Edition README

This README would normally document whatever steps are necessary to get your application up and running.

JBCP Calendar Application

This code has been developed in Gradle and has a sub-project for each chapter milestone. Thymeleaf has been used as the view templating engine throughout the book

Chapters


  1. Anatomy of an Unsafe Application
  2. Getting Started with Spring Security
  3. Custom Authentication
  4. JDBC-Based Authentication
  5. Authentication with Spring-Data
  6. LDAP Directory Services
  7. Remember-Me Services
  8. Client Certificate Authentication with TLS
  9. Opening up to OAuth2
  10. Single Sign-on with Central Authentication Service
  11. Fine-grained Access Control
  12. Access Control Lists
  13. Custom Authorization
  14. Session Management
  15. Additional Spring Security Features
  16. Microservice security with OAuth2 and JSON Web Tokens
  17. Migration to Spring Security 4.2





Building and Running the code examples

Code Software Requirements

  • JDK 8
  • Gradle 4.x
  • IntelliJ 2017+
  • Eclipse Neon+
  • See 'gradle.properties' for list of dependency versions

Building Intellij Project Files:

./gradlew idea

Intellij Plugin

Building Eclipse Project Files:

./gradlew eclipse

Eclipse Plugin

Clearing Gradle Wrapper cache:

(from project root) ./gradlew --build-cache clean

Clearing Gradle install cache:

rm -rf $HOME/.gradle/caches/ rm -rf $HOME/.gradle/daemon/

Running Individual projects:

  • Chapter 01: (from chapter root) ./gradlew tomcatRun
  • Chapter 02: (from chapter root) ./gradlew tomcatRun
  • Chapter 03: (from chapter root) ./gradlew tomcatRun
  • Chapter 04: (from chapter root) ./gradlew tomcatRun
  • Chapter 05: (from chapter root) ./gradlew bootRun

Running SonarCube for any individual project:

(from PROJECT root) ./gradlew sonarqube
-Dsonar.host.url=http://localhost:9000
-Dsonar.login=cbb0017712d39d6e9799a626cc0d980b0dd620e1

./gradlew sonarqube -Dscan

-- Note: Sonar server must be running !!!

Misc Items

gradle chapter16:dependencyInsight --dependency commons-lang3 --configuration compile

TODO's

the end...


spring-security-third-edition's People

Contributors

vibhutig13 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.