Module com.gluonhq.cloudlink.client
Class AuthenticationViewFactory
- java.lang.Object
-
- com.gluonhq.impl.cloudlink.client.user.AuthenticationViewFactory
-
public class AuthenticationViewFactory extends Object
A Factory class used to create new instances of AuthenticationView.
-
-
Constructor Summary
Constructors Constructor Description AuthenticationViewFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthenticationView
getAuthenticationView()
Get an instance of AuthenticationView.
-
-
-
Method Detail
-
getAuthenticationView
public static AuthenticationView getAuthenticationView()
Get an instance of AuthenticationView. It will try to load a class that is defined in the system propertycom.gluonhq.cloudlink.client.user.AuthenticationView
. If no such property was defined, it will try to load the Glisten implementation of the AuthenticationView. When that fails to instantiate as well,null
will be returned, which means no authentication can be started in this application.Note: only one instance of the AuthenticationView will be created for the entire application. This means that subsequent calls to this method will always return the same instance.
- Returns:
- an instance of AuthenticationView that can be used to connect users to Gluon CloudLink.
-
-