public class SimpleTarantoolCredentials extends Object implements TarantoolCredentials
Constructor and Description |
---|
SimpleTarantoolCredentials()
Simple constructor which uses the default guest credentials
|
SimpleTarantoolCredentials(String user,
String password)
Basic constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getPassword() |
String |
getUsername()
Return the username to authenticate with its identity
|
boolean |
isGuest() |
boolean |
isValid() |
public SimpleTarantoolCredentials(String user, String password)
user
- non-empty usernamepassword
- non-null passwordpublic SimpleTarantoolCredentials()
public String getUsername()
TarantoolCredentials
getUsername
in interface TarantoolCredentials
public String getPassword()
public boolean isValid()
public boolean isGuest()
Copyright © 2025 Picodata. All rights reserved.