動画検索
関連広告
検索結果
Intro
Guest Course Intro
Nelson Course Intro
Bootstrap app
Create API
Install Spring Security
Explain form login
Explain basic authentication
Implement basic authentication
Implement basic authentication
Explain JWT authentication
Implement JWT authentication filter
Implement JWT utils class and finalise the filter
Tell Spring to use the JWT filter
Implement userDetailsService
Add the authenticationProvider bean
Add session management creation policy
Implement Authentication controller
Improve the code
Testing the application
Outro
INTRO
BOOTSTRAPPING
LETS BUILD AN API
BASIC AUTH OVERVIEW
POSTMAN
IN MEMORY USER DETAILS MANAGER
ROLES AND PERMISSIONS
ROLES & PERMISSIONS USING ENUMS
DISABLING CSRF
ADDING AUTHORITIES TO USERS
preAuthorize()
CSRF TOKEN
FORM BASED AUTHENTICATION
SESSION ID
REDIRECT AFTER SUCCESS LOGIN
LOGOUT
PASSWORD, USERNAME, REMEMBER-ME PARAMETERS
APPLICATION USER SERVICE
APPLICATION USER DAO INTERFACE
DAO AUTHENTICATION PROVIDER
JWT LIBRARY
JwtUsernameAndPasswordAuthenticationFilter - successfulAuthentication
JWT USERNAME AND PASSWORD FILTER
JWT TOKEN VERIFIER FILTER IN ACTION
QUICK WORD ABOUT JWT
Intro
Scenario 1: Creating Rest Endpoint with Spring MVC
Scenario 2: Adding Spring Security dependency
Scenario 3: Implementing custom authentication filter and user details service
Setting up Authentication Manager
Creating custom UserDetailsService
Configuring path security
Creating custom authentication filter
Scenario 4: Implementing custom authentication provider
Scenario 5: Implementing multiple authentication providers
Outro
HttpSecurity Default Configuration
Customize HttpSecurity
authoizeHttpRequest - old way
formLogin()
httpBasics()
authenticated() vs permitAll() vs denyAll()
Upgrading to Latest spring security
authoizeHttpRequest : Lambda DSL way
Spring Security Customizer
Spring Security QNA
Role based authentication and authorization
Intro
How to configure authorization in Spring?
Create APIs in the application
Override methods in WebSecurityConfigurator
How to specify the mapping of path to role
How to specify a role in Spring Security
How to logout in Spring Security
How to allow access to static assets in Spring Security?
Why establish authorization chains?
How does Spring security work under the hood?
Welcome Note
What is Spring Security / Spring Security Overview
Spring Security Design / Spring Security Architecture (Basic)
Why is Spring Security Important / Why Spring Security is popular
How to Add Spring Security / Steps to add Spring Security
Bootstrap Spring Boot with Spring Web and Spring Security using Spring Initializr
Demonstration : Build Get API : Spring boot
Demonstration : Test Get API : Without Spring Security
Demonstration : Get API : Adding Spring Security back to pom.xml
Demonstration : Test Get API : With Spring Security : Login Form
Default username and password for login by Spring Security
Custom username and password for login by application.properties
Session Summary
Thank You