Class ConfUserInfo

Object
com.tailf.conf.ConfUserInfo

public class ConfUserInfo extends Object
User session information container.
  • Constructor Details

  • Method Details

    • getIpValue

      public ConfObject getIpValue()
      Get User session IP address as ConfIPv4 or ConfIPv6 respectively
      Returns:
      IP address as ConfIPv4 or ConfIPv6
    • setIpValue

      public void setIpValue(ConfObject ipValue)
      Internally used set method
    • getIp

      public InetAddress getIp()
      Get User Session IP address as an Java InetAddress instance
      Returns:
      Ip address
    • setIp

      public void setIp(InetAddress ip)
      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

      public String getUsername()
      Get user name
      Returns:
      username as string
    • setUsername

      public void setUsername(String username)
      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

      public String getContext()
      Get User session context, one of "cli" | "webui" | "netconf" | "noaaa" | any MAAPI string
      Returns:
      context as string
    • setContext

      public void setContext(String context)
      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

      public Date getLogintime()
      Get user session login time
      Returns:
      login time as date
    • setLogintime

      public void setLogintime(Date logintime)
      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

      public String getSnmp_v3_ctx()
      Get snmp v3 context
      Returns:
      snmpv3 context as string
    • setSnmp_v3_ctx

      public void setSnmp_v3_ctx(String snmpV3Ctx)
      Internally used method
      Parameters:
      snmpV3Ctx -
    • getClearpass

      public String getClearpass()
      Get User session clear text password if available otherwise ""
      Returns:
      password as string
    • setClearpass

      public void setClearpass(String clearpass)
      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

      public String toString()
      Overrides:
      toString in class Object