Skip to content

Kitboga Tech

Living in a cloud

Menu
  • Home
  • Java
  • Java Arch.
  • Spring
  • Spring Cloud
  • Microservices
  • Docker
  • AWS
  • About
Search

Category: Authentication

Posted onFebruary 4, 2020February 4, 2020Authentication

Spring Security

Security Core The main class that keeps authorization data is SecurityContextHolder, saves the detail of Principal object. Object principal = SecurityContextHolder.getContext().getAuthentication().getPrincipal(); if (principal instanceof UserDetails)…

Read More
© Copyright 2020 – Kitboga Tech
Anther Theme by DesignOrbital ⋅ Powered by WordPress