Skip to main content
1-Visitor
September 15, 2015
Question

Connect API Using Windows Credentials

  • September 15, 2015
  • 1 reply
  • 6333 views

Is it possible to connect the API using Windows credentials? For example, if you are using SharePoint, you can send credentials using System.Net.CredentialCache.DefaultNetworkCredentials which sends a "security package" or something like that with your WIndows logon credentials.

    1 reply

    16-Pearl
    September 17, 2015

    Hello Nolin,

    I'm not sure on this, since I've never had a situation in which I could test this, but on the server, if you edit <ServerRoot>/config/client/IntegrityClientSite.rc, looking at the daemon.authenticationPolicy setting.  If this can work, I think you need to take a look at setting it to "mks.ic.common.policy.ICAuthenticatedSessionPolicy", then setting daemon.authenticationURL=<YourAuthenticationURL>.  I'm not sure what the authentication URL would be in the case of a Windows domain, though.

    If you get stuck, it may be worth opening a case.

    Regards,
    Kael

    1-Visitor
    September 17, 2015

    Kael,

    I'm not sure I completely follow, but if I did, how would I connect with the API once the authentication url was entered? Would I just leave out user name and password from API calls? I did find the file and the section you're talking about.

    Thanks,

    Nolin