Package org.graylog.security.authservice
Class AuthServiceCredentials
java.lang.Object
org.graylog.security.authservice.AuthServiceCredentials
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static AuthServiceCredentials
create
(String username, EncryptedValue password) static AuthServiceCredentials
createAuthenticated
(String username) abstract boolean
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()
-
Constructor Details
-
AuthServiceCredentials
public AuthServiceCredentials()
-
-
Method Details
-
username
-
password
-
isAuthenticated
public abstract boolean isAuthenticated()Returns true if the subject is already authenticated and the authentication service backend doesn't need to authenticate anymore.- Returns:
- true if already authenticated, false otherwise
-
create
-
createAuthenticated
-
builder
-