Skip to content

Commit f99d868

Browse files
committed
Polish demo sample
Issue gh-1189
1 parent 1112204 commit f99d868

11 files changed

+13
-13
lines changed

samples/demo-authorizationserver/src/main/java/sample/config/AuthorizationServerConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
import com.nimbusds.jose.proc.SecurityContext;
2424
import sample.authentication.DeviceClientAuthenticationProvider;
2525
import sample.jose.Jwks;
26-
import sample.security.FederatedIdentityConfigurer;
27-
import sample.security.FederatedIdentityIdTokenCustomizer;
26+
import sample.federation.FederatedIdentityConfigurer;
27+
import sample.federation.FederatedIdentityIdTokenCustomizer;
2828
import sample.web.authentication.DeviceClientAuthenticationConverter;
2929

3030
import org.springframework.context.annotation.Bean;

samples/demo-authorizationserver/src/main/java/sample/config/DefaultSecurityConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
*/
1616
package sample.config;
1717

18-
import sample.security.FederatedIdentityConfigurer;
19-
import sample.security.UserRepositoryOAuth2UserHandler;
18+
import sample.federation.FederatedIdentityConfigurer;
19+
import sample.federation.UserRepositoryOAuth2UserHandler;
2020

2121
import org.springframework.context.annotation.Bean;
2222
import org.springframework.context.annotation.Configuration;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package sample.security;
16+
package sample.federation;
1717

1818
import java.io.IOException;
1919

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package sample.security;
16+
package sample.federation;
1717

1818
import java.io.IOException;
1919
import java.util.function.Consumer;

samples/demo-authorizationserver/src/main/java/sample/security/FederatedIdentityConfigurer.java renamed to samples/demo-authorizationserver/src/main/java/sample/federation/FederatedIdentityConfigurer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package sample.security;
16+
package sample.federation;
1717

1818
import java.util.function.Consumer;
1919

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package sample.security;
16+
package sample.federation;
1717

1818
import java.util.Arrays;
1919
import java.util.Collections;

samples/demo-authorizationserver/src/main/java/sample/security/UserRepositoryOAuth2UserHandler.java renamed to samples/demo-authorizationserver/src/main/java/sample/federation/UserRepositoryOAuth2UserHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package sample.security;
16+
package sample.federation;
1717

1818
import java.util.Map;
1919
import java.util.concurrent.ConcurrentHashMap;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package sample.web.authentication;
16+
package sample.authorization;
1717

1818
import java.time.Clock;
1919
import java.time.Duration;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package sample.web.authentication;
16+
package sample.authorization;
1717

1818
import java.util.Arrays;
1919

samples/demo-client/src/main/java/sample/web/authentication/OAuth2DeviceGrantRequest.java renamed to samples/demo-client/src/main/java/sample/authorization/OAuth2DeviceGrantRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package sample.web.authentication;
16+
package sample.authorization;
1717

1818
import org.springframework.security.oauth2.client.endpoint.AbstractOAuth2AuthorizationGrantRequest;
1919
import org.springframework.security.oauth2.client.registration.ClientRegistration;

samples/demo-client/src/main/java/sample/config/WebClientConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
package sample.config;
1717

18-
import sample.web.authentication.DeviceCodeOAuth2AuthorizedClientProvider;
18+
import sample.authorization.DeviceCodeOAuth2AuthorizedClientProvider;
1919

2020
import org.springframework.context.annotation.Bean;
2121
import org.springframework.context.annotation.Configuration;

0 commit comments

Comments
 (0)