Package io.prestosql.server.ui
Class InsecureFormAuthenticator
- java.lang.Object
-
- io.prestosql.server.ui.InsecureFormAuthenticator
-
- All Implemented Interfaces:
FormAuthenticator
public class InsecureFormAuthenticator extends Object implements FormAuthenticator
-
-
Constructor Summary
Constructors Constructor Description InsecureFormAuthenticator(SecurityConfig securityConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isLoginEnabled(boolean secure)
boolean
isPasswordAllowed(boolean secure)
boolean
isValidCredential(String username, String password, boolean secure)
-
-
-
Constructor Detail
-
InsecureFormAuthenticator
@Inject public InsecureFormAuthenticator(SecurityConfig securityConfig)
-
-
Method Detail
-
isLoginEnabled
public boolean isLoginEnabled(boolean secure)
- Specified by:
isLoginEnabled
in interfaceFormAuthenticator
-
isPasswordAllowed
public boolean isPasswordAllowed(boolean secure)
- Specified by:
isPasswordAllowed
in interfaceFormAuthenticator
-
isValidCredential
public boolean isValidCredential(String username, String password, boolean secure)
- Specified by:
isValidCredential
in interfaceFormAuthenticator
-
-