public class BasicAuthentication extends Authentication
| Modifier and Type | Field and Description |
|---|---|
protected String |
password |
protected String |
userName |
config, logger, SSL_SOCKET_FACTORY| Constructor and Description |
|---|
BasicAuthentication(cz.abclinuxu.datoveschranky.common.Config config,
String userName,
String password) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureServiceOverride(Map<String,Object> requestContext,
String servicePostfix) |
static Authentication |
login(cz.abclinuxu.datoveschranky.common.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(cz.abclinuxu.datoveschranky.common.Config config, String userName, String password) throws Exception
userName - jméno uživatelepassword - heslo uživatelecz.abclinuxu.datoveschranky.common.DataBoxException - 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 © 2017. All rights reserved.