Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
f53ae48
Added BodyHandler before SockJS for XHR POST requests
salmonb Aug 30, 2024
a278004
Fixed wrong index in i18n bracket replacements
salmonb Sep 2, 2024
a75f8ff
Fixed wrong key in GeneratedKeyReferenceSerialCodec
salmonb Sep 12, 2024
c582fdc
Stopped memorizing entity lists with no listId provided in EntityStor…
salmonb Sep 24, 2024
908c632
Added support for strokeLineCap, strokeLineJoin, strokeMiterLimit in …
salmonb Sep 27, 2024
3542f5c
Added RouteBackward & RouteForward i18n SVG icons
salmonb Sep 27, 2024
a05628b
Generated Java i18n keys for password, logout & time
salmonb Sep 27, 2024
176774b
Bug correction in UpdateStoreImpl.updateEntity to solve a pb of updat…
davidhello7772 Sep 29, 2024
309a473
Add a method to have only a ok button on the Confirmation Dialog
davidhello7772 Oct 12, 2024
afca7ac
Fixed I18n not resolving brackets in correct language
salmonb Oct 27, 2024
4e2ba6e
Changed EntityFactoryRegistry to make it work with KBSX (which overlo…
salmonb Oct 28, 2024
6dc8391
Unset default listId in EntityStore.executeQuery()
salmonb Oct 28, 2024
474276c
Minor changes in webfx-stack-orm-entity
salmonb Oct 28, 2024
7affae7
Updated HistoryRouter to initialize the in-memory history on first call
salmonb Oct 29, 2024
dbd804b
Prepared for GWT 2.12.0 (compilation issue with switch blocks)
salmonb Oct 30, 2024
83dd5e0
Made use of ControlUtil.createProgressIndicator()
salmonb Nov 1, 2024
5589c3d
Made use of FXProperties.newXXXProperty() utility methods
salmonb Nov 1, 2024
9b14114
Added Text & Control factory methods in I18n & I18nControls
salmonb Nov 1, 2024
1f06f84
Added SKIP_SCHEDULER_DEBUG_FLAG in WebSocketBus
salmonb Nov 2, 2024
a8d97ce
Made use of FXProperties.runOnPropertyChange()
salmonb Nov 7, 2024
779750c
Changed Action API
salmonb Nov 8, 2024
8e5ffa4
Fixed HistoryRouter: router call was skip on same requested path agai…
salmonb Nov 11, 2024
2ebb49e
Made use of FXProperties.toggleProperty() in PasswordUiLoginGatewayPr…
salmonb Nov 11, 2024
6e9a667
Added MagicLinkRenewalRequest and its serial codec
salmonb Nov 11, 2024
31a47c2
Uniformed login UI with Modality magic link UI
davidhello7772 Nov 11, 2024
a428697
Merge remote-tracking branch 'origin/staging' into staging
davidhello7772 Nov 11, 2024
3b222da
Added requestedPath parameter in MagicLinkRequest
salmonb Nov 12, 2024
0ecdbe0
Merge remote-tracking branch 'origin/staging' into staging
davidhello7772 Nov 12, 2024
c077621
Marked classes as final in webfx-stack-authn
salmonb Nov 12, 2024
0dd8afc
UX design for Magic Link both in JavaFX and WebFx
davidhello7772 Nov 13, 2024
260cc8d
Merge remote-tracking branch 'origin/staging' into staging
salmonb Nov 13, 2024
9bec2d3
Added webfx-stack-authn-login-ui-gateway-magiclink
salmonb Nov 13, 2024
5046902
Added new shorthand control factories in ActionBinder
salmonb Nov 14, 2024
b94c6c9
Fixed FXAuthorizationsReceived synced too late after the application …
salmonb Nov 14, 2024
18e3696
Reloaded initial default path in UiRouter after login success on an e…
salmonb Nov 14, 2024
ba32ec6
Implemented Magic link UI
davidhello7772 Nov 15, 2024
39522e1
Merge branch 'refs/heads/feature/login' into staging
davidhello7772 Nov 15, 2024
9b5522c
Added getOrWaitOperationAction() method in OperationActionRegistry
salmonb Nov 15, 2024
3db0c34
Merge remote-tracking branch 'origin/staging' into staging
salmonb Nov 15, 2024
95416ee
Corrected bug on the Password Update on Magic link
davidhello7772 Nov 16, 2024
ea01e80
Remove a dependence to Modality
davidhello7772 Nov 16, 2024
6e62a6e
Merge remote-tracking branch 'origin/staging' into staging
salmonb Nov 16, 2024
0944c8e
Improved initialization process FXInit in webfx-stack-session-state-c…
salmonb Nov 17, 2024
c83bf61
Added ActionBuilder constructor taking a previous action
salmonb Nov 17, 2024
f8001e8
Added ActionTuner interface in new webfx-stack-ui-action-tuner module
salmonb Nov 17, 2024
adc0e03
Fixed issue with deferred binding in OperationActionRegistry and adde…
salmonb Nov 17, 2024
3aa836e
Removed dependency to modality
salmonb Nov 17, 2024
13c060f
Added HasI18nKey convenient interface
salmonb Nov 18, 2024
4f7fc2a
Added I18nKeys utility method
salmonb Nov 18, 2024
c145501
Made RouteBackwardRequest & RouteForwardRequest implement HasI18nKey …
salmonb Nov 18, 2024
111c360
Changed Logout icon & made it default by implementing HasI18nKey (int…
salmonb Nov 20, 2024
a77c424
Fixed bug and initialisation issue with FXUserClaims
salmonb Nov 21, 2024
1ff9f48
Added temporary workaround in I18nProviderImpl for line breaks
salmonb Nov 21, 2024
b9f3007
Removed default login background
salmonb Nov 21, 2024
58ab3e3
Extended i18n brackets interpretation to work inside AST objects as well
salmonb Nov 23, 2024
47a763c
Added upperCase & lowerCase features in i18n
salmonb Nov 27, 2024
b8d42c9
Fixed i18n: default dictionary fallback was not applied when request …
salmonb Nov 28, 2024
65564f9
Added Session.store() shortcut method
salmonb Nov 28, 2024
2223f7e
Fixed issue in UpdateStoreImpl with previous value detection in case …
salmonb Nov 29, 2024
eb91347
Prevented possible database errors on deletes (now executed after upd…
salmonb Nov 29, 2024
78b05a4
Removed storage of previous values in UpdateStore (replaced by link t…
salmonb Dec 2, 2024
edf08d6
Fixed EntityPropertiesSheet: empty string were not nullified for non-…
salmonb Dec 2, 2024
2e76a26
Considered changes in Collections.toStringXXX() methods
salmonb Dec 2, 2024
d1ada64
Removed unused constant from ServerJsonBusStateManager
salmonb Dec 3, 2024
7999404
Fixed possible NPE in DynamicEntity
salmonb Dec 3, 2024
3bde6d5
Removed dependency to javafx-base from webfx-stack-com-bus-call (used…
salmonb Dec 4, 2024
91716f5
Moved javafx-base dependency from webfx-stack-orm-entity to new webfx…
salmonb Dec 4, 2024
a88bd33
Added getXXXFieldProperty() methods to EntityBindings utility class
salmonb Dec 4, 2024
c0a2021
Extended EntityBindings API for entity changes
salmonb Dec 4, 2024
322a808
Simplified Entity API regarding domainClassId, domainClass & entity c…
salmonb Dec 5, 2024
e528056
Added webfx-stack-orm-entity-messaging module
salmonb Dec 4, 2024
16b472a
Made EntityChangesBuilder API fluent, and added addFilteredEntityChan…
salmonb Dec 5, 2024
d4d14d9
Ran 'webfx update'
salmonb Dec 5, 2024
3440fd5
Reestablished few methods with entityClass in EntityStore for more ac…
salmonb Dec 5, 2024
bf10d31
Added setCreateAccountUiSupplier() in PasswordUiLoginGatewayProvider
salmonb Dec 7, 2024
00c0036
Renamed credentials classes in webfx-stack-fork
salmonb Dec 9, 2024
1314185
Added InitiateAccountCreationCredentials class (and serial codec)
salmonb Dec 9, 2024
c7a9586
Centralised common code in SendMagicLinkCredentials & InitiateAccount…
salmonb Dec 10, 2024
6dbc396
Renamed some authentication credential classes
salmonb Dec 10, 2024
164fc42
Added ContinueAccountCreationCredentials
salmonb Dec 10, 2024
ce0ac52
Changed the way to make Material text fields transparent in login win…
salmonb Dec 11, 2024
3bb8d6d
Added FinaliseAccountCreationCredentials (and its serial codec)
salmonb Dec 11, 2024
8926c3c
Fixed bug in FinaliseAccountCreationCredentialsSerialCodec
davidhello7772 Dec 11, 2024
66a2199
Moved Modality ValidationSupport down to WebFX Stack
salmonb Dec 12, 2024
6b7dd08
Merge remote-tracking branch 'origin/staging' into staging
davidhello7772 Dec 13, 2024
e7436a5
Made ActionBinder.bindChildrenToXXX() methods return Unregisterable
salmonb Dec 13, 2024
c39c4e1
Added some validation method on ValidationSupport (Passwords match an…
davidhello7772 Dec 14, 2024
6886045
Changed some UI elements in LoginPortalUi
davidhello7772 Dec 14, 2024
2862369
Added email validation on MagicLinkUi
davidhello7772 Dec 14, 2024
f7a58e0
Implemented Account Creation on PasswordUiLoginGatewayProvider
davidhello7772 Dec 14, 2024
7f13d7e
Merge remote-tracking branch 'origin/staging' into staging
salmonb Dec 14, 2024
eff234d
Replaced stripTrailing by trim in UserAccountUI (for GWT), and added …
davidhello7772 Dec 14, 2024
015fc5a
Added InitiateEmailUpdateCredentials & FinaliseEmailUpdateCredentials…
salmonb Dec 16, 2024
8f91b3f
Merge remote-tracking branch 'origin/staging' into staging
salmonb Dec 16, 2024
415fda0
Improved UI interface for Login View
davidhello7772 Dec 16, 2024
b1baa28
Initial coding for UserProfileActivity
davidhello7772 Dec 16, 2024
f570b3b
Corrected bug on EntityResultBuilder
davidhello7772 Dec 17, 2024
046fde9
Improved UI for UserProfileActivity
davidhello7772 Dec 17, 2024
ad33e7e
Improved ValidationSupport: new clear() method & message auto-removal…
salmonb Dec 18, 2024
32bb536
Fixed typo: occured -> occurred
salmonb Dec 18, 2024
3ce0175
Made UpdateStoreImpl more flexible with numbers for changes detection
salmonb Dec 19, 2024
97b1e2a
Made EntityIdImpl implement Comparable
salmonb Dec 19, 2024
5fd2f11
Improved orderBy API in Entities
salmonb Dec 19, 2024
6a34014
Simplified addUrlOrEmptyValidation() signature in ValidationSupport
salmonb Dec 19, 2024
a5dd638
Renamed XXXGatewayProviders to just XXXGateway in authn API
salmonb Dec 19, 2024
6c0a87c
Changed ValidationSupport API to make it work with i18n API
salmonb Dec 20, 2024
94f4869
Moved a dictionary key to remove a dependancy to modality
davidhello7772 Dec 20, 2024
6fb5bc7
Replaced an old piece of code with updated method in MagicLinkUi
davidhello7772 Dec 20, 2024
30f329a
Merge branch 'sync' into staging
salmonb Dec 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
<module>webfx-stack-authn-login-ui-gateway</module>
<module>webfx-stack-authn-login-ui-gateway-facebook-plugin</module>
<module>webfx-stack-authn-login-ui-gateway-google-plugin</module>
<module>webfx-stack-authn-login-ui-gateway-magiclink-plugin</module>
<module>webfx-stack-authn-login-ui-gateway-mojoauth-plugin</module>
<module>webfx-stack-authn-login-ui-gateway-password-plugin</module>
<module>webfx-stack-authn-login-ui-gateway-webviewbased</module>
Expand Down Expand Up @@ -134,7 +135,9 @@
<module>webfx-stack-orm-dql-querypush-interceptor</module>
<module>webfx-stack-orm-dql-submit-interceptor</module>
<module>webfx-stack-orm-entity</module>
<module>webfx-stack-orm-entity-binding</module>
<module>webfx-stack-orm-entity-controls</module>
<module>webfx-stack-orm-entity-messaging</module>
<module>webfx-stack-orm-expression</module>
<module>webfx-stack-orm-reactive-call</module>
<module>webfx-stack-orm-reactive-dql</module>
Expand All @@ -159,6 +162,7 @@
<module>webfx-stack-session-state-server</module>
<module>webfx-stack-session-vertx</module>
<module>webfx-stack-ui-action</module>
<module>webfx-stack-ui-action-tuner</module>
<module>webfx-stack-ui-controls</module>
<module>webfx-stack-ui-dialog</module>
<module>webfx-stack-ui-exceptions</module>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import dev.webfx.platform.conf.ConfigLoader;
import dev.webfx.platform.console.Console;
import dev.webfx.stack.authn.AuthenticationService;
import dev.webfx.stack.authn.login.spi.impl.server.gateway.ServerLoginGatewayProvider;
import dev.webfx.stack.authn.login.spi.impl.server.gateway.ServerLoginGateway;
import dev.webfx.stack.push.server.PushServerService;
import dev.webfx.stack.routing.router.Router;
import dev.webfx.stack.routing.router.RoutingContext;
Expand All @@ -17,7 +17,7 @@
/**
* @author Bruno Salmon
*/
public class FacebookServerLoginGatewayProvider implements ServerLoginGatewayProvider {
public class FacebookServerLoginGateway implements ServerLoginGateway {

private final static String CONFIG_PATH = "webfx.stack.authn.server.facebook";
private final static String CLIENT_ID_CONF_KEY = "clientId";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
exports dev.webfx.stack.authn.login.spi.impl.server.gateway.facebook;

// Provided services
provides dev.webfx.stack.authn.login.spi.impl.server.gateway.ServerLoginGatewayProvider with dev.webfx.stack.authn.login.spi.impl.server.gateway.facebook.FacebookServerLoginGatewayProvider;
provides dev.webfx.stack.authn.login.spi.impl.server.gateway.ServerLoginGateway with dev.webfx.stack.authn.login.spi.impl.server.gateway.facebook.FacebookServerLoginGateway;

}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
dev.webfx.stack.authn.login.spi.impl.server.gateway.facebook.FacebookServerLoginGatewayProvider
dev.webfx.stack.authn.login.spi.impl.server.gateway.facebook.FacebookServerLoginGateway
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</dependencies>

<providers>
<provider interface="dev.webfx.stack.authn.login.spi.impl.server.gateway.ServerLoginGatewayProvider">dev.webfx.stack.authn.login.spi.impl.server.gateway.facebook.FacebookServerLoginGatewayProvider</provider>
<provider interface="dev.webfx.stack.authn.login.spi.impl.server.gateway.ServerLoginGateway">dev.webfx.stack.authn.login.spi.impl.server.gateway.facebook.FacebookServerLoginGateway</provider>
<!--
<provider interface="dev.webfx.stack.conf.spi.ConfigurationConsumer">dev.webfx.stack.authn.login.spi.impl.server.gateway.facebook.FacebookServerLoginGatewayConfigurationConsumer</provider>
-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import dev.webfx.platform.conf.ConfigLoader;
import dev.webfx.platform.console.Console;
import dev.webfx.stack.authn.AuthenticationService;
import dev.webfx.stack.authn.login.spi.impl.server.gateway.ServerLoginGatewayProvider;
import dev.webfx.stack.authn.login.spi.impl.server.gateway.ServerLoginGateway;
import dev.webfx.stack.authn.oauth2.OAuth2Service;
import dev.webfx.stack.push.server.PushServerService;
import dev.webfx.stack.routing.router.Router;
Expand All @@ -18,7 +18,7 @@
/**
* @author Bruno Salmon
*/
public class GoogleServerLoginGatewayProvider implements ServerLoginGatewayProvider {
public class GoogleServerLoginGateway implements ServerLoginGateway {

private final static String CONFIG_PATH = "webfx.stack.authn.server.google";
private final static String CLIENT_ID_CONF_KEY = "clientId";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
exports dev.webfx.stack.authn.login.spi.impl.server.gateway.google;

// Provided services
provides dev.webfx.stack.authn.login.spi.impl.server.gateway.ServerLoginGatewayProvider with dev.webfx.stack.authn.login.spi.impl.server.gateway.google.GoogleServerLoginGatewayProvider;
provides dev.webfx.stack.authn.login.spi.impl.server.gateway.ServerLoginGateway with dev.webfx.stack.authn.login.spi.impl.server.gateway.google.GoogleServerLoginGateway;

}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
dev.webfx.stack.authn.login.spi.impl.server.gateway.google.GoogleServerLoginGatewayProvider
dev.webfx.stack.authn.login.spi.impl.server.gateway.google.GoogleServerLoginGateway
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</dependencies>

<providers>
<provider interface="dev.webfx.stack.authn.login.spi.impl.server.gateway.ServerLoginGatewayProvider">dev.webfx.stack.authn.login.spi.impl.server.gateway.google.GoogleServerLoginGatewayProvider</provider>
<provider interface="dev.webfx.stack.authn.login.spi.impl.server.gateway.ServerLoginGateway">dev.webfx.stack.authn.login.spi.impl.server.gateway.google.GoogleServerLoginGateway</provider>
<!--
<provider interface="dev.webfx.stack.conf.spi.ConfigurationConsumer">dev.webfx.stack.authn.login.spi.impl.server.gateway.google.GoogleServerLoginGatewayConfigurationConsumer</provider>
-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import dev.webfx.platform.console.Console;
import dev.webfx.platform.util.tuples.Pair;
import dev.webfx.stack.authn.AuthenticationService;
import dev.webfx.stack.authn.login.spi.impl.server.gateway.ServerLoginGatewayProvider;
import dev.webfx.stack.authn.login.spi.impl.server.gateway.ServerLoginGateway;
import dev.webfx.stack.push.server.PushServerService;
import dev.webfx.stack.routing.router.Router;
import dev.webfx.stack.routing.router.RoutingContext;
Expand All @@ -19,7 +19,7 @@
/**
* @author Bruno Salmon
*/
public class MojoAuthServerLoginGatewayProvider implements ServerLoginGatewayProvider {
public class MojoAuthServerLoginGateway implements ServerLoginGateway {

private final static String CONFIG_PATH = "webfx.stack.authn.server.mojoauth";
private final static String API_KEY_CONF_KEY = "apiKey";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
exports dev.webfx.stack.authn.login.spi.impl.server.gateway.mojoauth;

// Provided services
provides dev.webfx.stack.authn.login.spi.impl.server.gateway.ServerLoginGatewayProvider with dev.webfx.stack.authn.login.spi.impl.server.gateway.mojoauth.MojoAuthServerLoginGatewayProvider;
provides dev.webfx.stack.authn.login.spi.impl.server.gateway.ServerLoginGateway with dev.webfx.stack.authn.login.spi.impl.server.gateway.mojoauth.MojoAuthServerLoginGateway;

}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
dev.webfx.stack.authn.login.spi.impl.server.gateway.mojoauth.MojoAuthServerLoginGatewayProvider
dev.webfx.stack.authn.login.spi.impl.server.gateway.mojoauth.MojoAuthServerLoginGateway
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</dependencies>

<providers>
<provider interface="dev.webfx.stack.authn.login.spi.impl.server.gateway.ServerLoginGatewayProvider">dev.webfx.stack.authn.login.spi.impl.server.gateway.mojoauth.MojoAuthServerLoginGatewayProvider</provider>
<provider interface="dev.webfx.stack.authn.login.spi.impl.server.gateway.ServerLoginGateway">dev.webfx.stack.authn.login.spi.impl.server.gateway.mojoauth.MojoAuthServerLoginGateway</provider>
<!--
<provider interface="dev.webfx.stack.conf.spi.ConfigurationConsumer">dev.webfx.stack.authn.login.spi.impl.server.gateway.mojoauth.MojoAuthServerLoginGatewayConfigurationConsumer</provider>
-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* @author Bruno Salmon
*/
public interface ServerLoginGatewayProvider {
public interface ServerLoginGateway {

void boot();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import dev.webfx.platform.service.MultipleServiceProviders;
import dev.webfx.stack.authn.login.LoginUiContext;
import dev.webfx.stack.authn.login.spi.LoginServiceProvider;
import dev.webfx.stack.authn.login.spi.impl.server.gateway.ServerLoginGatewayProvider;
import dev.webfx.stack.authn.login.spi.impl.server.gateway.ServerLoginGateway;

import java.util.List;
import java.util.Objects;
Expand All @@ -15,23 +15,23 @@
*/
public class ServerLoginPortalProvider implements LoginServiceProvider {

private static List<ServerLoginGatewayProvider> getGatewayProviders() {
return MultipleServiceProviders.getProviders(ServerLoginGatewayProvider.class, () -> ServiceLoader.load(ServerLoginGatewayProvider.class));
private static List<ServerLoginGateway> getGateways() {
return MultipleServiceProviders.getProviders(ServerLoginGateway.class, () -> ServiceLoader.load(ServerLoginGateway.class));
}

public ServerLoginPortalProvider() { // Called first time on server start through LoginService.getProvider() call in GetLoginUiInputMethodEndpoint.
// We instantiate the gateways (such as Google, Facebook, etc...) and call their boot() method, which they will
// probably use to register their callback route (must be done as soon as possible, i.e. on server start).
for (ServerLoginGatewayProvider gatewayProvider : getGatewayProviders())
gatewayProvider.boot();
for (ServerLoginGateway gateway : getGateways())
gateway.boot();
}

@Override
public Future<?> getLoginUiInput(LoginUiContext loginUiContext) {
Object gatewayId = loginUiContext.getGatewayId();
for (ServerLoginGatewayProvider gatewayProvider : getGatewayProviders()) {
if (Objects.equals(gatewayProvider.getGatewayId(), gatewayId))
return gatewayProvider.getLoginUiInput(loginUiContext.getGatewayContext());
for (ServerLoginGateway gateway : getGateways()) {
if (Objects.equals(gateway.getGatewayId(), gatewayId))
return gateway.getLoginUiInput(loginUiContext.getGatewayContext());
}
return Future.failedFuture("No server login gateway found with id='" + gatewayId + "'");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
exports dev.webfx.stack.authn.login.spi.impl.server.portal;

// Used services
uses dev.webfx.stack.authn.login.spi.impl.server.gateway.ServerLoginGatewayProvider;
uses dev.webfx.stack.authn.login.spi.impl.server.gateway.ServerLoginGateway;

// Provided services
provides dev.webfx.stack.authn.login.spi.LoginServiceProvider with dev.webfx.stack.authn.login.spi.impl.server.portal.ServerLoginPortalProvider;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
package dev.webfx.stack.authn.login.ui.spi.impl.gateway.facebook;

import dev.webfx.platform.resource.Resource;
import dev.webfx.stack.authn.login.ui.spi.impl.gateway.webview.WebViewBasedUiLoginGatewayProvider;
import dev.webfx.stack.authn.login.ui.spi.impl.gateway.webview.WebViewBasedUiLoginGateway;
import javafx.scene.Node;
import javafx.scene.image.ImageView;

/**
* @author Bruno Salmon
*/
public final class FacebookUiLoginGatewayProvider extends WebViewBasedUiLoginGatewayProvider {
public final class FacebookUiLoginGateway extends WebViewBasedUiLoginGateway {

private final static String GATEWAY_ID = "Facebook";

public FacebookUiLoginGatewayProvider() {
public FacebookUiLoginGateway() {
super(GATEWAY_ID);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
opens dev.webfx.stack.authn.login.ui.spi.impl.gateway.facebook;

// Provided services
provides dev.webfx.stack.authn.login.ui.spi.impl.gateway.UiLoginGatewayProvider with dev.webfx.stack.authn.login.ui.spi.impl.gateway.facebook.FacebookUiLoginGatewayProvider;
provides dev.webfx.stack.authn.login.ui.spi.impl.gateway.UiLoginGateway with dev.webfx.stack.authn.login.ui.spi.impl.gateway.facebook.FacebookUiLoginGateway;

}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
dev.webfx.stack.authn.login.ui.spi.impl.gateway.facebook.FacebookUiLoginGatewayProvider
dev.webfx.stack.authn.login.ui.spi.impl.gateway.facebook.FacebookUiLoginGateway
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</dependencies>

<providers>
<provider interface="dev.webfx.stack.authn.login.ui.spi.impl.gateway.UiLoginGatewayProvider">dev.webfx.stack.authn.login.ui.spi.impl.gateway.facebook.FacebookUiLoginGatewayProvider</provider>
<provider interface="dev.webfx.stack.authn.login.ui.spi.impl.gateway.UiLoginGateway">dev.webfx.stack.authn.login.ui.spi.impl.gateway.facebook.FacebookUiLoginGateway</provider>
</providers>

</project>
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
package dev.webfx.stack.authn.login.ui.spi.impl.gateway.google;

import dev.webfx.platform.resource.Resource;
import dev.webfx.stack.authn.login.ui.spi.impl.gateway.webview.WebViewBasedUiLoginGatewayProvider;
import dev.webfx.stack.authn.login.ui.spi.impl.gateway.webview.WebViewBasedUiLoginGateway;
import javafx.scene.Node;
import javafx.scene.image.ImageView;

/**
* @author Bruno Salmon
*/
public final class GoogleUiLoginGatewayProvider extends WebViewBasedUiLoginGatewayProvider {
public final class GoogleUiLoginGateway extends WebViewBasedUiLoginGateway {

private final static String GATEWAY_ID = "Google";

public GoogleUiLoginGatewayProvider() {
public GoogleUiLoginGateway() {
super(GATEWAY_ID);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
opens dev.webfx.stack.authn.login.ui.spi.impl.gateway.google;

// Provided services
provides dev.webfx.stack.authn.login.ui.spi.impl.gateway.UiLoginGatewayProvider with dev.webfx.stack.authn.login.ui.spi.impl.gateway.google.GoogleUiLoginGatewayProvider;
provides dev.webfx.stack.authn.login.ui.spi.impl.gateway.UiLoginGateway with dev.webfx.stack.authn.login.ui.spi.impl.gateway.google.GoogleUiLoginGateway;

}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
dev.webfx.stack.authn.login.ui.spi.impl.gateway.google.GoogleUiLoginGatewayProvider
dev.webfx.stack.authn.login.ui.spi.impl.gateway.google.GoogleUiLoginGateway
2 changes: 1 addition & 1 deletion webfx-stack-authn-login-ui-gateway-google-plugin/webfx.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</dependencies>

<providers>
<provider interface="dev.webfx.stack.authn.login.ui.spi.impl.gateway.UiLoginGatewayProvider">dev.webfx.stack.authn.login.ui.spi.impl.gateway.google.GoogleUiLoginGatewayProvider</provider>
<provider interface="dev.webfx.stack.authn.login.ui.spi.impl.gateway.UiLoginGateway">dev.webfx.stack.authn.login.ui.spi.impl.gateway.google.GoogleUiLoginGateway</provider>
</providers>

</project>
Loading