com.netflix.astyanax
Interface AuthenticationCredentials

All Known Implementing Classes:
SimpleAuthenticationCredentials

public interface AuthenticationCredentials

Representation for a user/password used to log into a keyspace.


Method Summary
 java.lang.Object getAttribute(java.lang.String name)
          Retrieve a single attribute by name
 java.lang.String[] getAttributeNames()
           
 java.lang.String getPassword()
           
 java.lang.String getUsername()
           
 

Method Detail

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