public class SimpleFdkCredential extends Object implements FdkCredential
Constructor and Description |
---|
SimpleFdkCredential(String username,
String password)
Creates a SimpleFdkCredential with no login options.
|
SimpleFdkCredential(String username,
String password,
Map options)
Creates a SimpleFdkCredential with login options.
|
Modifier and Type | Method and Description |
---|---|
Map |
getOptions()
Returns the login options.
|
String |
getPassword()
Returns the password.
|
String |
getUsername()
Returns the username for this credential.
|
public SimpleFdkCredential(String username, String password)
username
- The username. Required.password
- The password. Required.public String getUsername()
getUsername
in interface FdkCredential
null
if the username is not known.public Map getOptions()
getOptions
in interface FdkCredential
public String getPassword()
Copyright © 2023. All rights reserved.