Skip to content

Commit 421d4e9

Browse files
committed
Relocate classes out from oauth2.core.context package
Closes spring-projectsgh-814
1 parent 889e6d9 commit 421d4e9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/server/authorization/authentication/OAuth2AuthenticationContext.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
import org.springframework.lang.Nullable;
2424
import org.springframework.security.core.Authentication;
25-
import org.springframework.security.oauth2.core.context.Context;
25+
import org.springframework.security.oauth2.server.authorization.context.Context;
2626
import org.springframework.util.Assert;
2727
import org.springframework.util.CollectionUtils;
2828

oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/core/context/Context.java renamed to oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/server/authorization/context/Context.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020-2021 the original author or authors.
2+
* Copyright 2020-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.springframework.security.oauth2.core.context;
16+
package org.springframework.security.oauth2.server.authorization.context;
1717

1818
import org.springframework.lang.Nullable;
1919
import org.springframework.util.Assert;

oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/server/authorization/token/OAuth2TokenContext.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
import org.springframework.security.core.Authentication;
2626
import org.springframework.security.oauth2.core.AuthorizationGrantType;
2727
import org.springframework.security.oauth2.core.OAuth2TokenType;
28-
import org.springframework.security.oauth2.core.context.Context;
2928
import org.springframework.security.oauth2.server.authorization.OAuth2Authorization;
3029
import org.springframework.security.oauth2.server.authorization.client.RegisteredClient;
30+
import org.springframework.security.oauth2.server.authorization.context.Context;
3131
import org.springframework.security.oauth2.server.authorization.context.ProviderContext;
3232
import org.springframework.util.Assert;
3333

0 commit comments

Comments
 (0)