Package org.apache.accumulo.core.client
Interface AccumuloClient.AuthenticationArgs<T>
- All Known Subinterfaces:
AccumuloClient.FromOptions<T>
- Enclosing interface:
- AccumuloClient
public static interface AccumuloClient.AuthenticationArgs<T>
Builder methods for authentication
- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionas
(CharSequence username, CharSequence password) Build using password-based credentialsas
(CharSequence principal, Path keyTabFile) Build using Kerberos credentialsas
(CharSequence principal, AuthenticationToken token) Build using specified credentials
-
Method Details
-
as
Build using password-based credentials- Parameters:
username
- User namepassword
- Password- Returns:
- this builder
-
as
Build using Kerberos credentials- Parameters:
principal
- PrincipalkeyTabFile
- Path to keytab file- Returns:
- this builder
-
as
Build using specified credentials- Parameters:
principal
- Principal/usernametoken
- Authentication token- Returns:
- this builder
-