Are below classes removed in spring security by spring boot 2.4.1
import org.springframework.security.oauth2.common.OAuth2AccessToken import org.springframework.security.oauth2.provider.OAuth2Authentication import org.springframework.security.oauth2.provider.OAuth2Request import org.springframework.security.oauth2.provider.token.AuthorizationServerTokenServices import org.springframework.security.oauth2.provider.token.TokenStore
they can neither be found in
Comment From: jgrandja
@rakotkar Support was removed in Spring Boot 2.x in favour of Spring Security 5’s first-class OAuth support.
See the initial announcement for further details.
NOTE: The classes you referenced OAuth2AccessToken, TokenStore are from the legacy OAuth project.