Package io.trino.server.ui
Class PasswordManagerFormAuthenticator
java.lang.Object
io.trino.server.ui.PasswordManagerFormAuthenticator
- All Implemented Interfaces:
FormAuthenticator
-
Constructor Summary
ConstructorsConstructorDescriptionPasswordManagerFormAuthenticator(PasswordAuthenticatorManager passwordAuthenticatorManager, PasswordAuthenticatorConfig config, SecurityConfig securityConfig) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisLoginEnabled(boolean secure) booleanisPasswordAllowed(boolean secure) isValidCredential(String username, String password, boolean secure)
-
Constructor Details
-
PasswordManagerFormAuthenticator
@Inject public PasswordManagerFormAuthenticator(PasswordAuthenticatorManager passwordAuthenticatorManager, PasswordAuthenticatorConfig config, SecurityConfig securityConfig)
-
-
Method Details
-
isLoginEnabled
public boolean isLoginEnabled(boolean secure) - Specified by:
isLoginEnabledin interfaceFormAuthenticator
-
isPasswordAllowed
public boolean isPasswordAllowed(boolean secure) - Specified by:
isPasswordAllowedin interfaceFormAuthenticator
-
isValidCredential
- Specified by:
isValidCredentialin interfaceFormAuthenticator
-