Use of Spring Security OAuth anonymous authentication

AnonymousAuthenticationFilter spring security provides an anonymous Authentication filter by default, which defines the anonymous user Authentication object that unauthenticated users can access resources: protected Authentication createAuthentication(HttpServletRequest request) { // key is a UUID.randomUUID().toString() // principal ...

Posted on Sun, 19 Sep 2021 03:17:49 -0400 by dent_moosely

Springboot + spring security front and back end separation + Jwt permission authentication (transformation record)

preface Generally speaking, we use spring security. By default, the front and back ends are integrated, such as thymeleaf or Freemarker. Spring security also comes with a login page and allows you to configure the login page and error page. But now the separation of front and back ends is the right way. If the front and back ends are separated ...

Posted on Tue, 07 Sep 2021 14:56:31 -0400 by lewisstevens1