public class ConnectionLoginFactory extends Object implements LoginFactory
This factory feeds on the same extension point the login context does. This should be changed in the future.
Modifier and Type | Field and Description |
---|---|
static String |
OPTION_CREDENTIALS_AS_PROPERTIES |
Constructor and Description |
---|
ConnectionLoginFactory() |
Modifier and Type | Method and Description |
---|---|
LoginHandler |
createHandler(LoginContext context,
String username,
String password,
Map<String,String> properties)
Creates a new login handler that is not started
|
protected Set<org.eclipse.scada.core.ui.connection.login.factory.internal.LoginConnection> |
loadConnections(String contextId) |
public static final String OPTION_CREDENTIALS_AS_PROPERTIES
public LoginHandler createHandler(LoginContext context, String username, String password, Map<String,String> properties) throws Exception
LoginFactory
Note: login handlers must at some point be disposed using the
method LoginHandler.dispose()
even if a login was never started.
createHandler
in interface LoginFactory
properties
- implementation specific propertiesException