|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jnetpcap.winpcap.WinPcapRmtAuth
public final class WinPcapRmtAuth
Class peered with native pcap_rmtauth structure. Provides
authentication data for establishing remote capture and lookup operations
using WinPcap extensions.
| Field Summary | |
|---|---|
static int |
RMT_AUTH_NULL
It defines the NULL authentication. |
static int |
RMT_AUTH_PWD
It defines the username/password authentication. |
| Constructor Summary | |
|---|---|
WinPcapRmtAuth()
Allocates an empty authentication object so that it may be setup |
|
WinPcapRmtAuth(int type,
java.lang.String username,
java.lang.String password)
Allocates and configures authentication object. |
|
| Method Summary | |
|---|---|
java.lang.String |
getPassword()
Gets the string containing the password that has to be used on the remote machine for authentication. |
int |
getType()
Gets the type of the authentication required. |
java.lang.String |
getUsername()
String containing the username that has to be used on the remote machine for authentication. |
void |
setPassword(java.lang.String password)
Sets the string containing the password that has to be used on the remote machine for authentication. |
void |
setType(int type)
Type of the authentication required. |
void |
setUsername(java.lang.String username)
Sets the string containing the username that has to be used on the remote machine for authentication. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int RMT_AUTH_NULL
public static final int RMT_AUTH_PWD
| Constructor Detail |
|---|
public WinPcapRmtAuth()
public WinPcapRmtAuth(int type,
java.lang.String username,
java.lang.String password)
type - authentication type; values of 0 or 1 permittedusername - string containing the username that has to be used on the remote
machine for authenticationpassword - string containing the password that has to be used on the remote
machine for authentication| Method Detail |
|---|
public final int getType()
public final void setType(int type)
type - the type to setpublic final java.lang.String getUsername()
public final void setUsername(java.lang.String username)
username - the username to setpublic final java.lang.String getPassword()
public final void setPassword(java.lang.String password)
password - the password to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||