|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AuthInfoProvider
Authentication information provider to connect to Cassandra nodes.
The authentication information themselves are just a key-value pairs. Which exact key-value pairs are required depends on the authenticator set for the Cassandra nodes.
| Field Summary | |
|---|---|
static AuthInfoProvider |
NONE
A provider that provides no authentication information. |
| Method Summary | |
|---|---|
Map<String,String> |
getAuthInfo(InetAddress host)
The authentication information to use to connect to host. |
| Field Detail |
|---|
static final AuthInfoProvider NONE
This is only useful for when no authentication is to be used.
| Method Detail |
|---|
Map<String,String> getAuthInfo(InetAddress host)
host.
Please note that if authentication is required, this method will be
called to initialize each new connection created by the driver. It is
thus a good idea to make sure this method returns relatively quickly.
host - the Cassandra host for which authentication information
are requested.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||