Package io.trino.spi.security
Interface PasswordAuthenticator
public interface PasswordAuthenticator
-
Method Summary
Modifier and TypeMethodDescriptioncreateAuthenticatedPrincipal(String user, String password) Authenticate the provided user and password.
-
Method Details
-
createAuthenticatedPrincipal
Authenticate the provided user and password.- Returns:
- the authenticated entity
- Throws:
AccessDeniedException- if not allowed
-