LaunchCode logo
  1. Contents
  2. 19. Authentication

19. Authentication¶

  1. 19.1. Introduction to Authentication
    1. 19.1.1. What Is Authentication?
    2. 19.1.2. Flow for Simple Authentication
      1. 19.1.2.1. Sessions and Cookies
    3. 19.1.3. A Note On Authentication In Spring
    4. 19.1.4. Check Your Understanding
  2. 19.2. Hashing Passwords
    1. 19.2.1. Two-Way Encryption
    2. 19.2.2. One-Way Encryption
    3. 19.2.3. Password Verification With Hashes
      1. 19.2.3.1. Hashing Isn’t Perfect
    4. 19.2.4. Which Hash Function Should I Use?
    5. 19.2.5. Check Your Understanding
  3. 19.3. Creating a User Model
    1. 19.3.1. A User Model
    2. 19.3.2. Hashing Passwords
    3. 19.3.3. Creating the UserRepository
    4. 19.3.4. Check Your Understanding
  4. 19.4. Login and Registration Forms
    1. 19.4.1. Creating AuthenticationController
    2. 19.4.2. Session-Handling Utilities
    3. 19.4.3. Form DTOs
    4. 19.4.4. The Registration Form
    5. 19.4.5. The Login Form
    6. 19.4.6. Logging Out
    7. 19.4.7. Check Your Understanding
  5. 19.5. Filtering Requests
    1. 19.5.1. Request Filters in Spring
    2. 19.5.2. Creating AuthenticationFilter
      1. 19.5.2.1. Overriding preHandle
      2. 19.5.2.2. Creating a Whitelist
    3. 19.5.3. Registering the Filter With Spring
    4. 19.5.4. Check Your Understanding
  6. 19.6. Studio: TechJobs Authentication
    1. 19.6.1. The Starter Code
    2. 19.6.2. Create the User Model
    3. 19.6.3. Create the Login and Registration Forms
    4. 19.6.4. Filter Requests
  • ← 18.6. Exercises: The Early Bird Gets the ORM!
  • 19.1. Introduction to Authentication →

Back to top

Page Source