public class BasicAuthConfiguration extends Object
| Constructor and Description |
|---|
BasicAuthConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getEnabled()
Get whether basic authentication has been enabled.
|
String |
getUsersFile()
Get the username file.
|
void |
setEnabled(boolean enabled)
Enable or disable basic authentication.
|
void |
setUsersFile(String usersFile)
Set the username file.
|
public boolean getEnabled()
public void setEnabled(boolean enabled)
enabled - true if basic auth is enabled; false otherwisepublic String getUsersFile()
public void setUsersFile(String usersFile)
usersFile - the username file