public interface WebUIAuthenticationCallback extends SynchronousCallback
CallbackRegistry.addCallback(Callback) method to add a WebUIAuthenticationCallback to HiveMQ.
If multiple callbacks are registered, only the one with the highest priority is used.
If no callback is registered, the credentials are validated against HiveMQ's config.xml| Modifier and Type | Interface and Description |
|---|---|
static class |
WebUIAuthenticationCallback.AuthenticationState |
| Modifier and Type | Method and Description |
|---|---|
WebUIAuthenticationCallback.AuthenticationState |
checkCredentials(String username,
String password)
Checks the credentials for a WebUI login.
|
priority@NotNull WebUIAuthenticationCallback.AuthenticationState checkCredentials(@NotNull String username, @NotNull String password)
WebUIAuthenticationCallback.AuthenticationState.SUCCESS when the authentication with the credentials was successful,
WebUIAuthenticationCallback.AuthenticationState.FAILED otherwise.username - the username to checkpassword - the password to checkCopyright © 2013-2018 dc-square GmbH. All Rights Reserved.