public class ConnectionLoginFactory extends java.lang.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 java.lang.String |
OPTION_CREDENTIALS_AS_PROPERTIES |
| Constructor and Description |
|---|
ConnectionLoginFactory() |
| Modifier and Type | Method and Description |
|---|---|
LoginHandler |
createHandler(LoginContext context,
java.lang.String username,
java.lang.String password,
java.util.Map<java.lang.String,java.lang.String> properties)
Creates a new login handler that is not started
|
protected java.util.Set<LoginConnection> |
loadConnections(java.lang.String contextId) |
public static final java.lang.String OPTION_CREDENTIALS_AS_PROPERTIES
public LoginHandler createHandler(LoginContext context, java.lang.String username, java.lang.String password, java.util.Map<java.lang.String,java.lang.String> properties) throws java.lang.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 LoginFactoryproperties - implementation specific propertiesjava.lang.Exceptionprotected java.util.Set<LoginConnection> loadConnections(java.lang.String contextId)
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0