Interface Authenticator
public interface Authenticator
Authenticator.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanauthenticate(org.apache.shardingsphere.infra.metadata.user.ShardingSphereUser user, Object[] authInfo) Authenticate.Get authentication method.
-
Method Details
-
authenticate
boolean authenticate(org.apache.shardingsphere.infra.metadata.user.ShardingSphereUser user, Object[] authInfo) Authenticate.- Parameters:
user- ShardingSphere userauthInfo- authentication information- Returns:
- authentication success or not
-
getAuthenticationMethod
AuthenticationMethod getAuthenticationMethod()Get authentication method.- Returns:
- authentication method
-