Kai Zheng created DIRKRB-313:
--------------------------------

             Summary: Refine transport related setting for KrbClient
                 Key: DIRKRB-313
                 URL: https://issues.apache.org/jira/browse/DIRKRB-313
             Project: Directory Kerberos
          Issue Type: Bug
            Reporter: Kai Zheng
            Assignee: Kai Zheng


Suggested by [~coheigea], better to make transport setting easier. So:
* By default {{allowUdp}} and {{allowTcp}} will be false;
* By default no tcp port and udp port will be used;
* If {{setKdcTcpPort}} is called, then {{allowTcp}} will be made true 
automatically, don't need another {{setAllowTcp}} call. Udp is similar.
* If {{allowTcp}} is set true, but no tcp port is given, it will be an error; 
similar to udp;
* If both UDP and TCP is correctly equipped with valid ports, then TCP will be 
tried first, and if failed, then UDP.

Hope this sounds good.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to