Package io.trino.server.ui
Class InsecureFormAuthenticator
java.lang.Object
io.trino.server.ui.InsecureFormAuthenticator
- All Implemented Interfaces:
FormAuthenticator
-
Constructor Summary
ConstructorsConstructorDescriptionInsecureFormAuthenticator(InsecureAuthenticatorConfig config, SecurityConfig securityConfig) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisLoginEnabled(boolean secure) booleanisPasswordAllowed(boolean secure) isValidCredential(String username, String password, boolean secure)
-
Constructor Details
-
InsecureFormAuthenticator
@Inject public InsecureFormAuthenticator(InsecureAuthenticatorConfig 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
-