|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.netflix.astyanax.connectionpool.impl.SimpleAuthenticationCredentials
public class SimpleAuthenticationCredentials
Constructor Summary | |
---|---|
SimpleAuthenticationCredentials(String username,
String password)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleAuthenticationCredentials(String username, String password)
Method Detail |
---|
public SimpleAuthenticationCredentials setUsername(String username)
public SimpleAuthenticationCredentials setPassword(String password)
public SimpleAuthenticationCredentials setAttribute(String name, Object value)
public SimpleAuthenticationCredentials removeAttribute(String name)
public String getUsername()
AuthenticationCredentials
getUsername
in interface AuthenticationCredentials
public String getPassword()
AuthenticationCredentials
getPassword
in interface AuthenticationCredentials
public String[] getAttributeNames()
AuthenticationCredentials
getAttributeNames
in interface AuthenticationCredentials
public Object getAttribute(String name)
AuthenticationCredentials
getAttribute
in interface AuthenticationCredentials
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |