Giter Site home page Giter Site logo

spring_security_course's Introduction

Spring Security Course (Module 1)

This project is the example code for the Spring security course on Udemy.com

BLiNC Event Manager Application

This code has been developed in Maven and has a sub-project for each chapter milestone.

Thymeleaf has been used as the view templating engine throughout the book

Section Overview

  1. Course Reference Project
  2. Getting Started with Spring Security
  3. Custom Authentication
  4. JDBC-Based Authentication
  5. JPA-based Authentication

Building and Running the code examples

Code Software Requirements

  • JDK 8+
  • Maven 3.x
  • IntelliJ 2019+
  • Eclipse Neon+
  • Lombok Plugin

Good reference to setup Lombok for Intellij and Eclipse IDE:

https://www.baeldung.com/lombok-ide

Preparing Maven to run offline

mvn dependency:sources
mvn dependency:resolve -Dclassifier=javadoc
mvn dependency:go-offline

or :

mvn dependency:sources dependency:resolve -Dclassifier=javadoc dependency:go-offline

Running Individual projects

To run each project in this chapter, run the following command from the milestone directory:

~ ./mvn spring-boot:run

then open a browser to: http://localhost:8080

Using the H2 DB Web Admin Console

After the application is running, the H2 admin Servlet will be running and the console can be accessed via the following URL: http://localhost:8080/admin/h2

Sections for next course module

  • Remember-Me Services
  • Client Certificate Authentication with TLS
  • Fine-Grained Access Control
  • Access Control Lists
  • Custom Authorization
  • Session Management
  • Additional Spring Security Features

TODO's

  • Get Selenium / WebDriver tests to work.
  • Integrate CircleCI to FOSSA
  • fix favicon.ico not rendering
  • Refactor WebMvcConfig to remove WebMvcConfigurerAdapter
  • My Competition.
  • Add more tests for DomainUsernamePasswordAuthenticationFilter

License

Code is under the BSD 2-clause "Simplified" License.

Badges...

We don't need stinky badges:

Quality Gate Status

Coverage

spring_security_course's People

Contributors

mickknutson avatar

Watchers

 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.