Class PostgreSQLPasswordAuthenticator
java.lang.Object
org.apache.shardingsphere.proxy.frontend.postgresql.authentication.authenticator.PostgreSQLPasswordAuthenticator
- All Implemented Interfaces:
Authenticator,PostgreSQLAuthenticator
public final class PostgreSQLPasswordAuthenticator
extends Object
implements PostgreSQLAuthenticator
Password authenticator for PostgreSQL.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanauthenticate(org.apache.shardingsphere.infra.metadata.user.ShardingSphereUser user, Object[] args) Authenticate.
-
Constructor Details
-
PostgreSQLPasswordAuthenticator
public PostgreSQLPasswordAuthenticator()
-
-
Method Details
-
authenticate
public boolean authenticate(org.apache.shardingsphere.infra.metadata.user.ShardingSphereUser user, Object[] args) Description copied from interface:PostgreSQLAuthenticatorAuthenticate.- Specified by:
authenticatein interfacePostgreSQLAuthenticator- Parameters:
user- ShardingSphere userargs- arguments for user authentication- Returns:
- authentication success or not
-
getAuthenticationMethodName
- Specified by:
getAuthenticationMethodNamein interfaceAuthenticator
-