public class AuthenticationOptions extends Object
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_ENABLED
The default value to enable / disable authentication.
|
Constructor and Description |
---|
AuthenticationOptions() |
AuthenticationOptions(AuthenticationOptions other) |
AuthenticationOptions(JsonObject json) |
Modifier and Type | Method and Description |
---|---|
String |
getId() |
String |
getSecret() |
boolean |
isEnabled() |
AuthenticationOptions |
setEnabled(boolean enabled)
Set whether authentication is enabled.
|
AuthenticationOptions |
setId(String id)
Set the identifier used for authentication.
|
AuthenticationOptions |
setSecret(String secret)
Set the secret used for authentication.
|
public static final boolean DEFAULT_ENABLED
public AuthenticationOptions()
public AuthenticationOptions(AuthenticationOptions other)
public AuthenticationOptions(JsonObject json)
public String getId()
public AuthenticationOptions setId(String id)
public String getSecret()
public AuthenticationOptions setSecret(String secret)
public boolean isEnabled()
public AuthenticationOptions setEnabled(boolean enabled)
false
.Copyright © 2016. All rights reserved.