public class BasicAuthentication extends Authentication
| Modifier and Type | Field and Description |
|---|---|
protected String |
password |
protected String |
userName |
config, logger| Constructor and Description |
|---|
BasicAuthentication(Config config,
String userName,
String password) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureServiceOverride(Map<String,Object> requestContext,
String servicePostfix) |
static Authentication |
login(Config config,
String userName,
String password)
Realizuje přihlášení do datové schránky pod daným uživatelským jménem
a heslem a při úspěšném přihlášení vrátí příslušnou instanci ISDSManageru
poskytující služby k této schránce.
|
configureService, createService, createSSLSocketFactorypublic static Authentication login(Config config, String userName, String password) throws Exception
userName - jméno uživatelepassword - heslo uživateleDataBoxException - při přihlašování do DS došlo k chybě. Důvodem může
být špatné heslo či uživatelské jméno.Exceptionprotected void configureServiceOverride(Map<String,Object> requestContext, String servicePostfix)
configureServiceOverride in class AuthenticationCopyright © 2016. All rights reserved.