locked
How to negotiate Authentication protocol? RRS feed

  • Question

  • Hi,
    I am trying to build a client similar to ocs communicator. UCMA supports either NTLM or Kerberos as authentication protocols. My client works fine when used with NTLM.
    But lets says OCS server is configured as use Both NTLM and Kerberos for authentication then how will client know which protocol to use for authentication?
    Does UCMA handles auto-negotiation of authentication protocol?

    Thanks
    Wednesday, April 1, 2009 9:21 AM

Answers

  • OotyPlatform.AllowedAuthenticationProtocol = (Microsoft.Rtc.Signaling.SipAuthenticationProtocols.Kerberos | Microsoft.Rtc.Signaling.SipAuthenticationProtocols.Ntlm);

    • Marked as answer by kaaa Saturday, April 4, 2009 7:12 AM
    Thursday, April 2, 2009 1:57 PM

All replies

  • If you are building a client you should be using UC Client APIs. Your UCMA based client can't do video or RCC for example. UCMA is not meant for desktop clients.

    If you allow your client to use either Kerb or NTLM then UCMA will handle which one the server supports and the order to try them
    Wednesday, April 1, 2009 1:59 PM
  • OK So if I get you clearly then UCMA will handle the type of authentication and its transparent. How do i use this feature. AFAIK UCMA SDK has SipEndpoint class with AllowedAuthenticationProtocol property which supports only NTLM or Kerberos there is no field like Auto.
    May be i didnt understand your reply. Will please elaborate more?
    Thursday, April 2, 2009 9:47 AM
  • OotyPlatform.AllowedAuthenticationProtocol = (Microsoft.Rtc.Signaling.SipAuthenticationProtocols.Kerberos | Microsoft.Rtc.Signaling.SipAuthenticationProtocols.Ntlm);

    • Marked as answer by kaaa Saturday, April 4, 2009 7:12 AM
    Thursday, April 2, 2009 1:57 PM
  • hey thanks man..i think it will work..i should have read documentation ;)
    Saturday, April 4, 2009 7:12 AM