Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-614

ExternalAuthenticationServer does not return actual port if it is set to 0

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: Security
    • Labels:
      None
    • Rank:
      1|hzyh7j:

      Description

      If you set the port to 0 to tell the ExternalAuthenticationServer to use an ephemeral port and then call getSocketAddress, you will be unable to get the actual port it binds to. It needs to get the actual connection socket address instead of just returning new InetSocketAddress(address, port).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alvin Alvin Wang
                Reporter:
                ashau Albert Shau
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: