public class ConfUserInfo extends Object
Constructor and Description |
---|
ConfUserInfo(ConfETuple usess)
Internally used constructor to create a UserInfo record
|
Modifier and Type | Method and Description |
---|---|
String |
getClearpass()
Get User session clear text password if available otherwise ""
|
String |
getContext()
Get User session context, one of
"cli" | "webui" | "netconf" | "noaaa" | any MAAPI string
|
int |
getFlags()
Get User session flags
|
InetAddress |
getIp()
Get User Session IP address as an Java InetAddress instance
|
ConfObject |
getIpValue()
Get User session IP address as ConfIPv4 or ConfIPv6 respectively
|
int |
getLmode()
Get User session locks
|
Date |
getLogintime()
Get user session login time
|
int |
getPort()
Get user session port
|
int |
getProto()
Get User session protocol type
|
String |
getSnmp_v3_ctx()
Get snmp v3 context
|
String |
getUsername()
Get user name
|
int |
getUsid()
Get user session id
|
void |
setClearpass(String clearpass)
Internally used method
|
void |
setContext(String context)
Internally used method
|
void |
setFlags(int flags)
Internally used method
|
void |
setIp(InetAddress ip)
Internally used method
|
void |
setIpValue(ConfObject ipValue)
Internally used set method
|
void |
setLmode(int lmode)
Internally used method
|
void |
setLogintime(Date logintime)
Internally used method
|
void |
setPort(int port)
Internally used method
|
void |
setProto(int proto)
Internally used method
|
void |
setSnmp_v3_ctx(String snmpV3Ctx)
Internally used method
|
void |
setUsername(String username)
Internally used method
|
void |
setUsid(int usid)
Internally used method
|
String |
toString() |
public ConfUserInfo(ConfETuple usess) throws ConfException
usess
- ConfException
public ConfObject getIpValue()
public void setIpValue(ConfObject ipValue)
public InetAddress getIp()
public void setIp(InetAddress ip)
ip
- public int getPort()
public void setPort(int port)
port
- public String getUsername()
public void setUsername(String username)
username
- public int getUsid()
public void setUsid(int usid)
usid
- public String getContext()
public void setContext(String context)
context
- public int getProto()
public void setProto(int proto)
proto
- public Date getLogintime()
public void setLogintime(Date logintime)
logintime
- public int getLmode()
public void setLmode(int lmode)
lmode
- public String getSnmp_v3_ctx()
public void setSnmp_v3_ctx(String snmpV3Ctx)
snmpV3Ctx
- public String getClearpass()
public void setClearpass(String clearpass)
clearpass
- public int getFlags()
public void setFlags(int flags)
flags
-