Package com.tailf.conf
Class ConfUserInfo
Object
com.tailf.conf.ConfUserInfo
User session information container.
-
Constructor Summary
ConstructorDescriptionConfUserInfo
(ConfETuple usess) Internally used constructor to create a UserInfo record -
Method Summary
Modifier and TypeMethodDescriptionGet User session clear text password if available otherwise ""Get User session context, one of "cli" | "webui" | "netconf" | "noaaa" | any MAAPI stringint
getFlags()
Get User session flagsgetIp()
Get User Session IP address as an Java InetAddress instanceGet User session IP address as ConfIPv4 or ConfIPv6 respectivelyint
getLmode()
Get User session locksGet user session login timeint
getPort()
Get user session portint
getProto()
Get User session protocol typeGet snmp v3 contextGet user nameint
getUsid()
Get user session idvoid
setClearpass
(String clearpass) Internally used methodvoid
setContext
(String context) Internally used methodvoid
setFlags
(int flags) Internally used methodvoid
setIp
(InetAddress ip) Internally used methodvoid
setIpValue
(ConfObject ipValue) Internally used set methodvoid
setLmode
(int lmode) Internally used methodvoid
setLogintime
(Date logintime) Internally used methodvoid
setPort
(int port) Internally used methodvoid
setProto
(int proto) Internally used methodvoid
setSnmp_v3_ctx
(String snmpV3Ctx) Internally used methodvoid
setUsername
(String username) Internally used methodvoid
setUsid
(int usid) Internally used methodtoString()
-
Constructor Details
-
ConfUserInfo
Internally used constructor to create a UserInfo record- Parameters:
usess
-- Throws:
ConfException
-
-
Method Details
-
getIpValue
Get User session IP address as ConfIPv4 or ConfIPv6 respectively- Returns:
- IP address as ConfIPv4 or ConfIPv6
-
setIpValue
Internally used set method -
getIp
Get User Session IP address as an Java InetAddress instance- Returns:
- Ip address
-
setIp
Internally used method- Parameters:
ip
-
-
getPort
public int getPort()Get user session port- Returns:
- port as int
-
setPort
public void setPort(int port) Internally used method- Parameters:
port
-
-
getUsername
Get user name- Returns:
- username as string
-
setUsername
Internally used method- Parameters:
username
-
-
getUsid
public int getUsid()Get user session id- Returns:
- user session id as int
-
setUsid
public void setUsid(int usid) Internally used method- Parameters:
usid
-
-
getContext
Get User session context, one of "cli" | "webui" | "netconf" | "noaaa" | any MAAPI string- Returns:
- context as string
-
setContext
Internally used method- Parameters:
context
-
-
getProto
public int getProto()Get User session protocol type- Returns:
- int representing the protocol type
-
setProto
public void setProto(int proto) Internally used method- Parameters:
proto
-
-
getLogintime
Get user session login time- Returns:
- login time as date
-
setLogintime
Internally used method- Parameters:
logintime
-
-
getLmode
public int getLmode()Get User session locks- Returns:
- lock mode as int
-
setLmode
public void setLmode(int lmode) Internally used method- Parameters:
lmode
-
-
getSnmp_v3_ctx
Get snmp v3 context- Returns:
- snmpv3 context as string
-
setSnmp_v3_ctx
Internally used method- Parameters:
snmpV3Ctx
-
-
getClearpass
Get User session clear text password if available otherwise ""- Returns:
- password as string
-
setClearpass
Internally used method- Parameters:
clearpass
-
-
getFlags
public int getFlags()Get User session flags- Returns:
- flags as int
-
setFlags
public void setFlags(int flags) Internally used method- Parameters:
flags
-
-
toString
-