Interface ConnectionInfo

  • All Known Implementing Classes:
    ConnectionInfoBean

    public interface ConnectionInfo
    Retain information about the current connection to the server, the information is address, username, date and hour since logged in. If an SSL connection exposes the server certificate.
    Author:
    Claudio Miranda
    • Method Detail

      • isDisableLocalAuth

        boolean isDisableLocalAuth()
        Returns:
        true if disabled the local authentication mechanism
      • getUsername

        String getUsername()
      • getLoggedSince

        Date getLoggedSince()
      • getControllerAddress

        ControllerAddress getControllerAddress()
        Returns the Controller Address. If a ModelControllerClient has been passed to the CommandContext and no connection occured, then the address is unknown.
        Returns:
        The Controller Address if known. Otherwise returns null.