diff --git a/pig-auth/src/main/java/com/pig4cloud/pig/auth/support/CustomeOAuth2AccessTokenGenerator.java b/pig-auth/src/main/java/com/pig4cloud/pig/auth/support/CustomeOAuth2AccessTokenGenerator.java index 836d4832..8e3b87fe 100644 --- a/pig-auth/src/main/java/com/pig4cloud/pig/auth/support/CustomeOAuth2AccessTokenGenerator.java +++ b/pig-auth/src/main/java/com/pig4cloud/pig/auth/support/CustomeOAuth2AccessTokenGenerator.java @@ -1,7 +1,6 @@ package com.pig4cloud.pig.auth.support; import org.springframework.lang.Nullable; -import org.springframework.security.core.context.SecurityContextHolder; import org.springframework.security.oauth2.core.ClaimAccessor; import org.springframework.security.oauth2.core.OAuth2AccessToken; import org.springframework.security.oauth2.core.OAuth2TokenFormat; @@ -83,14 +82,9 @@ public class CustomeOAuth2AccessTokenGenerator implements OAuth2TokenGenerator