public class MockClientStore extends CredentialStore
Modifier and Type | Field and Description |
---|---|
static String |
ADMIN_ID |
static String |
ADMIN_PASSWORD |
static byte[] |
ADMIN_PASSWORD_HASH |
static String |
CLIENT_ID |
static String |
USER_ID |
static String |
USER_PASSWORD |
static byte[] |
USER_PASSWORD_HASH |
credentials, SERVICE_SERVER_ID
Constructor and Description |
---|
MockClientStore() |
MockClientStore(String filename) |
Modifier and Type | Method and Description |
---|---|
void |
init() |
protected void |
saveStore()
Stores the credentials in a protobuf JSON file.
|
addCredentials, getCredentials, getFirstEntry, hasEntry, hasOnlyServiceServer, isAdmin, isEmpty, removeEntry, setAdmin, setCredentials, shutdown
public static final String USER_ID
public static final String USER_PASSWORD
public static final byte[] USER_PASSWORD_HASH
public static final String ADMIN_ID
public static final String ADMIN_PASSWORD
public static final byte[] ADMIN_PASSWORD_HASH
public static final String CLIENT_ID
public MockClientStore()
public MockClientStore(String filename)
public void init() throws org.openbase.jul.exception.InitializationException
init
in class CredentialStore
org.openbase.jul.exception.InitializationException
protected void saveStore()
CredentialStore
saveStore
in class CredentialStore
Copyright © 2017–2018 openbase.org. All rights reserved.