com.netflix.astyanax
Interface AuthenticationCredentials
- All Known Implementing Classes:
- SimpleAuthenticationCredentials
public interface AuthenticationCredentials
Representation for a user/password used to log into a keyspace.
getUsername
java.lang.String getUsername()
- Returns:
- The username
getPassword
java.lang.String getPassword()
- Returns:
- The password
getAttributeNames
java.lang.String[] getAttributeNames()
- Returns:
- Array of all custom attribute names
getAttribute
java.lang.Object getAttribute(java.lang.String name)
- Retrieve a single attribute by name
- Parameters:
name - Attribute name