Please enable JavaScript.
Coggle requires JavaScript to display documents.
Spring Security - Coggle Diagram
Spring Security
5 Concepts
Authorization
Definition : Define what you want to do
Principal
Definition : Currently logged in user. This will be remembered by Web Application
Authentication
Definition : Define who you are
People whoever want to access api need to show ID and Password
Type
Knowledge Base Authentication
Possession Base Authentication
2FA = KBA + PBA
Multi-Factor Authentication
Granted Authority
Definition : List of authorities ( List of functions a user can do )
Roles
Group of authorities
Default Behavior
Adds Login Form
Handles Login Error
Adds mandatory authentication for URLs
Creates a user and sets a default password
Configuration
Authentication
Authentication Manager Class
AuthenticationManagerBuilder
Step 1 : Get hold of AuthenticatinManagerBuilder
Step 2 : Set the configuration on it
Definition : Like an security man prevent your app
from hackers