public class UsernamePasswordCredentials extends Object implements Credentials
Modifier and Type | Field and Description |
---|---|
protected String |
password |
static String |
SCHEME |
protected String |
username |
Constructor and Description |
---|
UsernamePasswordCredentials(String username,
String password) |
Modifier and Type | Method and Description |
---|---|
String |
getAuthenticationScheme() |
String |
getClientName()
A string that identifies the owner of the credentials by a name.
|
String |
getPassword() |
String |
getUsername() |
protected String username
protected String password
public static final String SCHEME
public String getAuthenticationScheme()
getAuthenticationScheme
in interface Credentials
public String getUsername()
public String getPassword()
public String getClientName()
Credentials
getClientName
in interface Credentials
Copyright © 2024 OpenMRS Inc.. All rights reserved.