diff --git a/pom.xml b/pom.xml index ef73436..4acae01 100644 --- a/pom.xml +++ b/pom.xml @@ -28,8 +28,8 @@ - 24.3-SNAPSHOT - 2.5-SNAPSHOT + 24.4-SNAPSHOT + 24.4-SNAPSHOT 1.12.3 17 @@ -73,7 +73,7 @@ ${flow.version} - dev.hilla + com.vaadin.hilla endpoint ${hilla.version} diff --git a/sso-kit-starter-hilla/pom.xml b/sso-kit-starter-hilla/pom.xml index 7d636dd..0d4c7aa 100644 --- a/sso-kit-starter-hilla/pom.xml +++ b/sso-kit-starter-hilla/pom.xml @@ -7,10 +7,11 @@ sso-kit 2.3-SNAPSHOT + 2.3-SNAPSHOT SSO Kit Starter for Hilla - dev.hilla + com.vaadin.hilla sso-kit-starter @@ -33,7 +34,7 @@ license-checker - dev.hilla + com.vaadin.hilla endpoint provided diff --git a/sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/BackChannelLogoutSubscription.java b/sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/BackChannelLogoutSubscription.java similarity index 96% rename from sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/BackChannelLogoutSubscription.java rename to sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/BackChannelLogoutSubscription.java index 9a3192f..b510784 100644 --- a/sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/BackChannelLogoutSubscription.java +++ b/sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/BackChannelLogoutSubscription.java @@ -1,5 +1,5 @@ /*- - * Copyright (C) 2022 Vaadin Ltd + * Copyright (C) 2024 Vaadin Ltd * * This program is available under Vaadin Commercial License and Service Terms. * @@ -7,7 +7,7 @@ * See for the full * license. */ -package dev.hilla.sso.starter; +package com.vaadin.hilla.sso.starter; import java.util.Objects; import java.util.function.Consumer; diff --git a/sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/BootstrapDataServiceListener.java b/sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/BootstrapDataServiceListener.java similarity index 96% rename from sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/BootstrapDataServiceListener.java rename to sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/BootstrapDataServiceListener.java index eac105a..30e9609 100644 --- a/sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/BootstrapDataServiceListener.java +++ b/sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/BootstrapDataServiceListener.java @@ -1,5 +1,5 @@ /*- - * Copyright (C) 2022 Vaadin Ltd + * Copyright (C) 2024 Vaadin Ltd * * This program is available under Vaadin Commercial License and Service Terms. * @@ -7,7 +7,7 @@ * See for the full * license. */ -package dev.hilla.sso.starter; +package com.vaadin.hilla.sso.starter; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.core.JsonProcessingException; diff --git a/sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/LicenseCheckerServiceInitListener.java b/sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/LicenseCheckerServiceInitListener.java similarity index 96% rename from sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/LicenseCheckerServiceInitListener.java rename to sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/LicenseCheckerServiceInitListener.java index 9465c1a..9e03671 100644 --- a/sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/LicenseCheckerServiceInitListener.java +++ b/sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/LicenseCheckerServiceInitListener.java @@ -1,5 +1,5 @@ /*- - * Copyright (C) 2022 Vaadin Ltd + * Copyright (C) 2024 Vaadin Ltd * * This program is available under Vaadin Commercial License and Service Terms. * @@ -7,7 +7,7 @@ * See for the full * license. */ -package dev.hilla.sso.starter; +package com.vaadin.hilla.sso.starter; import java.io.IOException; diff --git a/sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/SingleSignOnConfiguration.java b/sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/SingleSignOnConfiguration.java similarity index 96% rename from sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/SingleSignOnConfiguration.java rename to sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/SingleSignOnConfiguration.java index 4811974..c824308 100644 --- a/sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/SingleSignOnConfiguration.java +++ b/sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/SingleSignOnConfiguration.java @@ -1,5 +1,5 @@ /*- - * Copyright (C) 2022 Vaadin Ltd + * Copyright (C) 2024 Vaadin Ltd * * This program is available under Vaadin Commercial License and Service Terms. * @@ -7,11 +7,11 @@ * See for the full * license. */ -package dev.hilla.sso.starter; +package com.vaadin.hilla.sso.starter; -import dev.hilla.sso.starter.endpoint.BackChannelLogoutEndpoint; -import dev.hilla.sso.starter.endpoint.SingleSignOnEndpoint; -import dev.hilla.sso.starter.endpoint.UserEndpoint; +import com.vaadin.hilla.sso.starter.endpoint.BackChannelLogoutEndpoint; +import com.vaadin.hilla.sso.starter.endpoint.SingleSignOnEndpoint; +import com.vaadin.hilla.sso.starter.endpoint.UserEndpoint; import org.springframework.boot.autoconfigure.AutoConfiguration; import org.springframework.boot.autoconfigure.security.oauth2.client.ClientsConfiguredCondition; import org.springframework.boot.context.properties.EnableConfigurationProperties; diff --git a/sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/SingleSignOnContext.java b/sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/SingleSignOnContext.java similarity index 98% rename from sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/SingleSignOnContext.java rename to sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/SingleSignOnContext.java index c83102c..0e654a6 100644 --- a/sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/SingleSignOnContext.java +++ b/sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/SingleSignOnContext.java @@ -1,5 +1,5 @@ /*- - * Copyright (C) 2022 Vaadin Ltd + * Copyright (C) 2024 Vaadin Ltd * * This program is available under Vaadin Commercial License and Service Terms. * @@ -7,7 +7,7 @@ * See for the full * license. */ -package dev.hilla.sso.starter; +package com.vaadin.hilla.sso.starter; import java.util.ArrayList; import java.util.List; @@ -27,7 +27,7 @@ import org.springframework.web.context.request.ServletRequestAttributes; import org.springframework.web.util.UriComponentsBuilder; -import dev.hilla.Nonnull; +import com.vaadin.hilla.Nonnull; import jakarta.servlet.http.HttpServletRequest; import reactor.core.publisher.Flux; diff --git a/sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/SingleSignOnData.java b/sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/SingleSignOnData.java similarity index 93% rename from sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/SingleSignOnData.java rename to sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/SingleSignOnData.java index e1467b4..fa5a52d 100644 --- a/sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/SingleSignOnData.java +++ b/sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/SingleSignOnData.java @@ -1,5 +1,5 @@ /*- - * Copyright (C) 2022 Vaadin Ltd + * Copyright (C) 2024 Vaadin Ltd * * This program is available under Vaadin Commercial License and Service Terms. * @@ -7,11 +7,11 @@ * See for the full * license. */ -package dev.hilla.sso.starter; +package com.vaadin.hilla.sso.starter; import java.util.List; -import dev.hilla.Nonnull; +import com.vaadin.hilla.Nonnull; /** * A convenience class that contains all the information about the current SSO diff --git a/sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/SingleSignOnDefaultBeans.java b/sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/SingleSignOnDefaultBeans.java similarity index 93% rename from sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/SingleSignOnDefaultBeans.java rename to sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/SingleSignOnDefaultBeans.java index cdb762d..b4f2997 100644 --- a/sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/SingleSignOnDefaultBeans.java +++ b/sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/SingleSignOnDefaultBeans.java @@ -1,5 +1,5 @@ /*- - * Copyright (C) 2022 Vaadin Ltd + * Copyright (C) 2024 Vaadin Ltd * * This program is available under Vaadin Commercial License and Service Terms. * @@ -7,7 +7,7 @@ * See for the full * license. */ -package dev.hilla.sso.starter; +package com.vaadin.hilla.sso.starter; import org.springframework.boot.autoconfigure.AutoConfiguration; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; diff --git a/sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/SingleSignOnProperties.java b/sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/SingleSignOnProperties.java similarity index 90% rename from sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/SingleSignOnProperties.java rename to sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/SingleSignOnProperties.java index 2cadd77..38d6359 100644 --- a/sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/SingleSignOnProperties.java +++ b/sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/SingleSignOnProperties.java @@ -1,5 +1,5 @@ /*- - * Copyright (C) 2022 Vaadin Ltd + * Copyright (C) 2024 Vaadin Ltd * * This program is available under Vaadin Commercial License and Service Terms. * @@ -7,7 +7,7 @@ * See for the full * license. */ -package dev.hilla.sso.starter; +package com.vaadin.hilla.sso.starter; import org.springframework.boot.context.properties.ConfigurationProperties; diff --git a/sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/endpoint/BackChannelLogoutEndpoint.java b/sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/endpoint/BackChannelLogoutEndpoint.java similarity index 77% rename from sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/endpoint/BackChannelLogoutEndpoint.java rename to sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/endpoint/BackChannelLogoutEndpoint.java index 9cd95fa..a250fb0 100644 --- a/sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/endpoint/BackChannelLogoutEndpoint.java +++ b/sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/endpoint/BackChannelLogoutEndpoint.java @@ -1,5 +1,5 @@ /*- - * Copyright (C) 2022 Vaadin Ltd + * Copyright (C) 2024 Vaadin Ltd * * This program is available under Vaadin Commercial License and Service Terms. * @@ -7,12 +7,12 @@ * See for the full * license. */ -package dev.hilla.sso.starter.endpoint; +package com.vaadin.hilla.sso.starter.endpoint; -import dev.hilla.Endpoint; -import dev.hilla.Nonnull; -import dev.hilla.sso.starter.BackChannelLogoutSubscription; -import dev.hilla.sso.starter.SingleSignOnContext; +import com.vaadin.hilla.Endpoint; +import com.vaadin.hilla.Nonnull; +import com.vaadin.hilla.sso.starter.BackChannelLogoutSubscription; +import com.vaadin.hilla.sso.starter.SingleSignOnContext; import jakarta.annotation.security.PermitAll; import reactor.core.publisher.Flux; diff --git a/sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/endpoint/SingleSignOnEndpoint.java b/sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/endpoint/SingleSignOnEndpoint.java similarity index 81% rename from sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/endpoint/SingleSignOnEndpoint.java rename to sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/endpoint/SingleSignOnEndpoint.java index 574e456..4196627 100644 --- a/sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/endpoint/SingleSignOnEndpoint.java +++ b/sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/endpoint/SingleSignOnEndpoint.java @@ -1,5 +1,5 @@ /*- - * Copyright (C) 2022 Vaadin Ltd + * Copyright (C) 2024 Vaadin Ltd * * This program is available under Vaadin Commercial License and Service Terms. * @@ -7,16 +7,16 @@ * See for the full * license. */ -package dev.hilla.sso.starter.endpoint; +package com.vaadin.hilla.sso.starter.endpoint; import java.util.List; import com.vaadin.flow.server.auth.AnonymousAllowed; -import dev.hilla.Endpoint; -import dev.hilla.Nonnull; -import dev.hilla.sso.starter.SingleSignOnContext; -import dev.hilla.sso.starter.SingleSignOnData; +import com.vaadin.hilla.Endpoint; +import com.vaadin.hilla.Nonnull; +import com.vaadin.hilla.sso.starter.SingleSignOnContext; +import com.vaadin.hilla.sso.starter.SingleSignOnData; /** * Endpoint for fetching the SSO data diff --git a/sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/endpoint/User.java b/sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/endpoint/User.java similarity index 95% rename from sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/endpoint/User.java rename to sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/endpoint/User.java index 0f01dfb..2d6c627 100644 --- a/sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/endpoint/User.java +++ b/sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/endpoint/User.java @@ -1,5 +1,5 @@ /*- - * Copyright (C) 2022 Vaadin Ltd + * Copyright (C) 2024 Vaadin Ltd * * This program is available under Vaadin Commercial License and Service Terms. * @@ -7,14 +7,14 @@ * See for the full * license. */ -package dev.hilla.sso.starter.endpoint; +package com.vaadin.hilla.sso.starter.endpoint; import java.util.List; import org.springframework.security.oauth2.core.oidc.user.OidcUser; -import dev.hilla.Nonnull; -import dev.hilla.sso.starter.SingleSignOnContext; +import com.vaadin.hilla.Nonnull; +import com.vaadin.hilla.sso.starter.SingleSignOnContext; /** * A convenience class that contains the information about the current user. diff --git a/sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/endpoint/UserEndpoint.java b/sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/endpoint/UserEndpoint.java similarity index 80% rename from sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/endpoint/UserEndpoint.java rename to sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/endpoint/UserEndpoint.java index 14e0e0a..9f50b43 100644 --- a/sso-kit-starter-hilla/src/main/java/dev/hilla/sso/starter/endpoint/UserEndpoint.java +++ b/sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/endpoint/UserEndpoint.java @@ -1,5 +1,5 @@ /*- - * Copyright (C) 2022 Vaadin Ltd + * Copyright (C) 2024 Vaadin Ltd * * This program is available under Vaadin Commercial License and Service Terms. * @@ -7,14 +7,14 @@ * See for the full * license. */ -package dev.hilla.sso.starter.endpoint; +package com.vaadin.hilla.sso.starter.endpoint; import java.util.Optional; import com.vaadin.flow.server.auth.AnonymousAllowed; -import dev.hilla.Endpoint; -import dev.hilla.sso.starter.SingleSignOnContext; +import com.vaadin.hilla.Endpoint; +import com.vaadin.hilla.sso.starter.SingleSignOnContext; /** * Endpoint for getting information about the current user. diff --git a/sso-kit-starter-hilla/src/main/resources/META-INF/services/com.vaadin.flow.server.VaadinServiceInitListener b/sso-kit-starter-hilla/src/main/resources/META-INF/services/com.vaadin.flow.server.VaadinServiceInitListener index 0c82952..e2a0ff1 100644 --- a/sso-kit-starter-hilla/src/main/resources/META-INF/services/com.vaadin.flow.server.VaadinServiceInitListener +++ b/sso-kit-starter-hilla/src/main/resources/META-INF/services/com.vaadin.flow.server.VaadinServiceInitListener @@ -1 +1 @@ -dev.hilla.sso.starter.LicenseCheckerServiceInitListener +com.vaadin.hilla.sso.starter.LicenseCheckerServiceInitListener diff --git a/sso-kit-starter-hilla/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports b/sso-kit-starter-hilla/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports index e9372fa..2230d4b 100644 --- a/sso-kit-starter-hilla/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports +++ b/sso-kit-starter-hilla/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports @@ -1,2 +1,2 @@ -dev.hilla.sso.starter.SingleSignOnDefaultBeans -dev.hilla.sso.starter.SingleSignOnConfiguration +com.vaadin.hilla.sso.starter.SingleSignOnDefaultBeans +com.vaadin.hilla.sso.starter.SingleSignOnConfiguration diff --git a/sso-kit-starter-hilla/src/test/java/dev/hilla/sso/starter/BackChannelLogoutSubscriptionTest.java b/sso-kit-starter-hilla/src/test/java/com/vaadin/hilla/sso/starter/BackChannelLogoutSubscriptionTest.java similarity index 96% rename from sso-kit-starter-hilla/src/test/java/dev/hilla/sso/starter/BackChannelLogoutSubscriptionTest.java rename to sso-kit-starter-hilla/src/test/java/com/vaadin/hilla/sso/starter/BackChannelLogoutSubscriptionTest.java index 8c8ce8d..7b37f10 100644 --- a/sso-kit-starter-hilla/src/test/java/dev/hilla/sso/starter/BackChannelLogoutSubscriptionTest.java +++ b/sso-kit-starter-hilla/src/test/java/com/vaadin/hilla/sso/starter/BackChannelLogoutSubscriptionTest.java @@ -1,5 +1,5 @@ /*- - * Copyright (C) 2022 Vaadin Ltd + * Copyright (C) 2024 Vaadin Ltd * * This program is available under Vaadin Commercial License and Service Terms. * @@ -7,7 +7,7 @@ * See for the full * license. */ -package dev.hilla.sso.starter; +package com.vaadin.hilla.sso.starter; import java.util.ArrayList; diff --git a/sso-kit-starter-hilla/src/test/java/dev/hilla/sso/starter/BootstrapDataServiceListenerTest.java b/sso-kit-starter-hilla/src/test/java/com/vaadin/hilla/sso/starter/BootstrapDataServiceListenerTest.java similarity index 98% rename from sso-kit-starter-hilla/src/test/java/dev/hilla/sso/starter/BootstrapDataServiceListenerTest.java rename to sso-kit-starter-hilla/src/test/java/com/vaadin/hilla/sso/starter/BootstrapDataServiceListenerTest.java index ee4fb2d..cc7fc6a 100644 --- a/sso-kit-starter-hilla/src/test/java/dev/hilla/sso/starter/BootstrapDataServiceListenerTest.java +++ b/sso-kit-starter-hilla/src/test/java/com/vaadin/hilla/sso/starter/BootstrapDataServiceListenerTest.java @@ -1,5 +1,5 @@ /*- - * Copyright (C) 2022 Vaadin Ltd + * Copyright (C) 2024 Vaadin Ltd * * This program is available under Vaadin Commercial License and Service Terms. * @@ -7,7 +7,7 @@ * See for the full * license. */ -package dev.hilla.sso.starter; +package com.vaadin.hilla.sso.starter; import org.jsoup.nodes.Document; import org.junit.jupiter.api.BeforeEach; diff --git a/sso-kit-starter-hilla/src/test/java/dev/hilla/sso/starter/LicenseCheckerServiceInitListenerTest.java b/sso-kit-starter-hilla/src/test/java/com/vaadin/hilla/sso/starter/LicenseCheckerServiceInitListenerTest.java similarity index 98% rename from sso-kit-starter-hilla/src/test/java/dev/hilla/sso/starter/LicenseCheckerServiceInitListenerTest.java rename to sso-kit-starter-hilla/src/test/java/com/vaadin/hilla/sso/starter/LicenseCheckerServiceInitListenerTest.java index 4a86bcb..08097b9 100644 --- a/sso-kit-starter-hilla/src/test/java/dev/hilla/sso/starter/LicenseCheckerServiceInitListenerTest.java +++ b/sso-kit-starter-hilla/src/test/java/com/vaadin/hilla/sso/starter/LicenseCheckerServiceInitListenerTest.java @@ -1,5 +1,5 @@ /*- - * Copyright (C) 2022 Vaadin Ltd + * Copyright (C) 2024 Vaadin Ltd * * This program is available under Vaadin Commercial License and Service Terms. * @@ -7,7 +7,7 @@ * See for the full * license. */ -package dev.hilla.sso.starter; +package com.vaadin.hilla.sso.starter; import java.io.IOException; import java.util.Properties; diff --git a/sso-kit-starter-hilla/src/test/java/dev/hilla/sso/starter/SingleSignOnConfigurationTest.java b/sso-kit-starter-hilla/src/test/java/com/vaadin/hilla/sso/starter/SingleSignOnConfigurationTest.java similarity index 94% rename from sso-kit-starter-hilla/src/test/java/dev/hilla/sso/starter/SingleSignOnConfigurationTest.java rename to sso-kit-starter-hilla/src/test/java/com/vaadin/hilla/sso/starter/SingleSignOnConfigurationTest.java index a521cb9..b22df05 100644 --- a/sso-kit-starter-hilla/src/test/java/dev/hilla/sso/starter/SingleSignOnConfigurationTest.java +++ b/sso-kit-starter-hilla/src/test/java/com/vaadin/hilla/sso/starter/SingleSignOnConfigurationTest.java @@ -1,5 +1,5 @@ /*- - * Copyright (C) 2022 Vaadin Ltd + * Copyright (C) 2024 Vaadin Ltd * * This program is available under Vaadin Commercial License and Service Terms. * @@ -7,11 +7,11 @@ * See for the full * license. */ -package dev.hilla.sso.starter; +package com.vaadin.hilla.sso.starter; -import dev.hilla.sso.starter.endpoint.BackChannelLogoutEndpoint; -import dev.hilla.sso.starter.endpoint.SingleSignOnEndpoint; -import dev.hilla.sso.starter.endpoint.UserEndpoint; +import com.vaadin.hilla.sso.starter.endpoint.BackChannelLogoutEndpoint; +import com.vaadin.hilla.sso.starter.endpoint.SingleSignOnEndpoint; +import com.vaadin.hilla.sso.starter.endpoint.UserEndpoint; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; diff --git a/sso-kit-starter-hilla/src/test/java/dev/hilla/sso/starter/SingleSignOnContextTest.java b/sso-kit-starter-hilla/src/test/java/com/vaadin/hilla/sso/starter/SingleSignOnContextTest.java similarity index 99% rename from sso-kit-starter-hilla/src/test/java/dev/hilla/sso/starter/SingleSignOnContextTest.java rename to sso-kit-starter-hilla/src/test/java/com/vaadin/hilla/sso/starter/SingleSignOnContextTest.java index 0de49c0..55707d0 100644 --- a/sso-kit-starter-hilla/src/test/java/dev/hilla/sso/starter/SingleSignOnContextTest.java +++ b/sso-kit-starter-hilla/src/test/java/com/vaadin/hilla/sso/starter/SingleSignOnContextTest.java @@ -1,5 +1,5 @@ /*- - * Copyright (C) 2022 Vaadin Ltd + * Copyright (C) 2024 Vaadin Ltd * * This program is available under Vaadin Commercial License and Service Terms. * @@ -7,7 +7,7 @@ * See for the full * license. */ -package dev.hilla.sso.starter; +package com.vaadin.hilla.sso.starter; import java.time.Duration; import java.time.Instant; diff --git a/sso-kit-starter-hilla/src/test/java/dev/hilla/sso/starter/endpoint/BackChannelLogoutEndpointTest.java b/sso-kit-starter-hilla/src/test/java/com/vaadin/hilla/sso/starter/endpoint/BackChannelLogoutEndpointTest.java similarity index 83% rename from sso-kit-starter-hilla/src/test/java/dev/hilla/sso/starter/endpoint/BackChannelLogoutEndpointTest.java rename to sso-kit-starter-hilla/src/test/java/com/vaadin/hilla/sso/starter/endpoint/BackChannelLogoutEndpointTest.java index 1f678a4..f39f21e 100644 --- a/sso-kit-starter-hilla/src/test/java/dev/hilla/sso/starter/endpoint/BackChannelLogoutEndpointTest.java +++ b/sso-kit-starter-hilla/src/test/java/com/vaadin/hilla/sso/starter/endpoint/BackChannelLogoutEndpointTest.java @@ -1,5 +1,5 @@ /*- - * Copyright (C) 2022 Vaadin Ltd + * Copyright (C) 2024 Vaadin Ltd * * This program is available under Vaadin Commercial License and Service Terms. * @@ -7,10 +7,10 @@ * See for the full * license. */ -package dev.hilla.sso.starter.endpoint; +package com.vaadin.hilla.sso.starter.endpoint; -import dev.hilla.sso.starter.BackChannelLogoutSubscription; -import dev.hilla.sso.starter.SingleSignOnContext; +import com.vaadin.hilla.sso.starter.BackChannelLogoutSubscription; +import com.vaadin.hilla.sso.starter.SingleSignOnContext; import org.junit.jupiter.api.Test; import reactor.core.publisher.Flux; diff --git a/sso-kit-starter-hilla/src/test/java/dev/hilla/sso/starter/endpoint/SingleSignOnEndpointTest.java b/sso-kit-starter-hilla/src/test/java/com/vaadin/hilla/sso/starter/endpoint/SingleSignOnEndpointTest.java similarity index 79% rename from sso-kit-starter-hilla/src/test/java/dev/hilla/sso/starter/endpoint/SingleSignOnEndpointTest.java rename to sso-kit-starter-hilla/src/test/java/com/vaadin/hilla/sso/starter/endpoint/SingleSignOnEndpointTest.java index 7eede44..ab0baf8 100644 --- a/sso-kit-starter-hilla/src/test/java/dev/hilla/sso/starter/endpoint/SingleSignOnEndpointTest.java +++ b/sso-kit-starter-hilla/src/test/java/com/vaadin/hilla/sso/starter/endpoint/SingleSignOnEndpointTest.java @@ -1,9 +1,18 @@ -package dev.hilla.sso.starter.endpoint; +/*- + * Copyright (C) 2024 Vaadin Ltd + * + * This program is available under Vaadin Commercial License and Service Terms. + * + * + * See for the full + * license. + */ +package com.vaadin.hilla.sso.starter.endpoint; import java.util.List; -import dev.hilla.sso.starter.SingleSignOnContext; -import dev.hilla.sso.starter.SingleSignOnData; +import com.vaadin.hilla.sso.starter.SingleSignOnContext; +import com.vaadin.hilla.sso.starter.SingleSignOnData; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/sso-kit-starter-hilla/src/test/java/dev/hilla/sso/starter/endpoint/UserEndpointTest.java b/sso-kit-starter-hilla/src/test/java/com/vaadin/hilla/sso/starter/endpoint/UserEndpointTest.java similarity index 93% rename from sso-kit-starter-hilla/src/test/java/dev/hilla/sso/starter/endpoint/UserEndpointTest.java rename to sso-kit-starter-hilla/src/test/java/com/vaadin/hilla/sso/starter/endpoint/UserEndpointTest.java index 8dec694..9a5e1f9 100644 --- a/sso-kit-starter-hilla/src/test/java/dev/hilla/sso/starter/endpoint/UserEndpointTest.java +++ b/sso-kit-starter-hilla/src/test/java/com/vaadin/hilla/sso/starter/endpoint/UserEndpointTest.java @@ -1,5 +1,5 @@ /*- - * Copyright (C) 2022 Vaadin Ltd + * Copyright (C) 2024 Vaadin Ltd * * This program is available under Vaadin Commercial License and Service Terms. * @@ -7,7 +7,7 @@ * See for the full * license. */ -package dev.hilla.sso.starter.endpoint; +package com.vaadin.hilla.sso.starter.endpoint; import java.time.Duration; import java.time.Instant; @@ -15,7 +15,7 @@ import java.util.Map; import java.util.Optional; -import dev.hilla.sso.starter.SingleSignOnContext; +import com.vaadin.hilla.sso.starter.SingleSignOnContext; import org.junit.jupiter.api.Test; import org.mockito.MockedStatic; import org.springframework.security.core.authority.SimpleGrantedAuthority;