public abstract class AuthServiceCredentials extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AuthServiceCredentials.Builder |
| Constructor and Description |
|---|
AuthServiceCredentials() |
| Modifier and Type | Method and Description |
|---|---|
static AuthServiceCredentials.Builder |
builder() |
static AuthServiceCredentials |
create(String username,
EncryptedValue password) |
static AuthServiceCredentials |
createAuthenticated(String username) |
abstract boolean |
isAuthenticated()
Returns true if the subject is already authenticated and the authentication service backend doesn't need
to authenticate anymore.
|
abstract EncryptedValue |
password() |
abstract String |
username() |
public abstract String username()
public abstract EncryptedValue password()
public abstract boolean isAuthenticated()
public static AuthServiceCredentials create(String username, EncryptedValue password)
public static AuthServiceCredentials createAuthenticated(String username)
public static AuthServiceCredentials.Builder builder()
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.