public class

SimpleAuthenticationCredentials

extends Object
implements AuthenticationCredentials
java.lang.Object
   ↳ com.netflix.astyanax.connectionpool.impl.SimpleAuthenticationCredentials

Summary

Public Constructors
SimpleAuthenticationCredentials(String username, String password)
Public Methods
Object getAttribute(String name)
Retrieve a single attribute by name
String[] getAttributeNames()
Array of all custom attribute names
String getPassword()
The password
String getUsername()
The username
SimpleAuthenticationCredentials removeAttribute(String name)
SimpleAuthenticationCredentials setAttribute(String name, Object value)
SimpleAuthenticationCredentials setPassword(String password)
SimpleAuthenticationCredentials setUsername(String username)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.netflix.astyanax.AuthenticationCredentials

Public Constructors

public SimpleAuthenticationCredentials (String username, String password)

Public Methods

public Object getAttribute (String name)

Retrieve a single attribute by name

public String[] getAttributeNames ()

Array of all custom attribute names

public String getPassword ()

The password

public String getUsername ()

The username

public SimpleAuthenticationCredentials removeAttribute (String name)

public SimpleAuthenticationCredentials setAttribute (String name, Object value)

public SimpleAuthenticationCredentials setPassword (String password)

public SimpleAuthenticationCredentials setUsername (String username)