Package org.graylog.security.authservice
Class AuthServiceCredentials
java.lang.Object
org.graylog.security.authservice.AuthServiceCredentials
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static AuthServiceCredentialscreate(String username, EncryptedValue password) static AuthServiceCredentialscreateAuthenticated(String username) abstract booleanReturns true if the subject is already authenticated and the authentication service backend doesn't need to authenticate anymore.abstract EncryptedValuepassword()abstract Stringusername()
-
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
-