Skip to content

Commit 3ba3e8b

Browse files
committed
Remove unused imports from SecureOAuth2ServerToServerConfiguration
Cleaned up unnecessary imports, including `GetUserInfo` and `JwtDecoder`, to improve code readability and maintainability. This change reduces clutter without affecting functionality.
1 parent e6d2977 commit 3ba3e8b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

libs/reactive-security/src/main/java/no/nav/testnav/libs/reactivesecurity/config/SecureOAuth2ServerToServerConfiguration.java

+1-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import no.nav.testnav.libs.reactivesecurity.action.GetAuthenticatedResourceServerType;
44
import no.nav.testnav.libs.reactivesecurity.action.GetAuthenticatedToken;
55
import no.nav.testnav.libs.reactivesecurity.action.GetAuthenticatedUserId;
6-
import no.nav.testnav.libs.reactivesecurity.action.GetUserInfo;
76
import no.nav.testnav.libs.reactivesecurity.exchange.TokenExchange;
87
import no.nav.testnav.libs.reactivesecurity.exchange.tokenx.TokenXService;
98
import no.nav.testnav.libs.reactivesecurity.manager.JwtReactiveAuthenticationManager;
@@ -17,7 +16,6 @@
1716
import org.springframework.context.annotation.Bean;
1817
import org.springframework.context.annotation.Configuration;
1918
import org.springframework.context.annotation.Import;
20-
import org.springframework.security.oauth2.jwt.JwtDecoder;
2119

2220
import java.util.List;
2321

@@ -31,8 +29,7 @@
3129
GetAuthenticatedUserId.class,
3230
GetAuthenticatedResourceServerType.class,
3331
GetAuthenticatedToken.class,
34-
TokenXProperties.class,
35-
GetUserInfo.class
32+
TokenXProperties.class
3633
})
3734
public class SecureOAuth2ServerToServerConfiguration {
3835

0 commit comments

Comments
 (0)