08-06-2012 01:14 PM
How does domain authentication work with Hyland.Services? It seems like I would need to pass the username and password in, which I wouldn't (and shouldn't) know if it's being handled by the domain. I tried using the exact code from the SDK code sample for domain authentication, but I just get an error:
Authentication Failed for user '' on Datasource 'OnBaseDev'.
This makes me believe it's either not possible (unlikely, since the example is there!) or I have something set up wrong. I only just set up the LDAP integration last week but I'm able to log in to the thick client and web client without providing my username/password (using the -AL switch), so it seems to be working from that side of things.
Any ideas?
08-07-2012 05:24 AM
Hi Robert,
What version of OnBase are you using? Is the Hyland.Services virtual directory that your application is connecting to configured for Windows authentication instead of Anonymous Access? Is you application pointing directly to the Hyland.Services application or to the Web Client's Service.asmx?
Also to verify, here are the parameters that are set on the IRequest for NT Authentication/
request.AddParameter("datasource", "<Name of your datasource>");
request.AddParameter("authenticationAgent", "DOMAIN");
Thanks,
Ian Cordova
Custom Solutions Group, Team Lead
08-07-2012 06:43 AM
Thanks for the questions... wow, I deserve a slap on the wrist for not even mentioning what version we're on, sorry! Some more information for you...
We're running OnBase version 11.0.1.118.
I had the parameters set up in the way you suggest, but it wasn't passing any userID in, so authentication was always failing.
However, the appserver was set up for Anonymous Access! After I switched that over to Windows authentication, all is right with the world.
Thanks for your help!
08-22-2012 10:34 AM
Ian,
I'm hoping you can answer a followup question. The LDAP integration is working now and the Connect request works. However, it always authenticates as the user currently logged in to the server... so if this is me running the server on my local system, anyone who connects to the site and triggers the Connect request just authenticates as me.
Is this by design? Our end goal is to authenticate a user in a non-interactive way and query OnBase as that user so that we only return the documents they should be able to see (driven by security keywords, user groups, etc). Is this possible with either Hyland.Services or Unity?
08-22-2012 11:54 AM
Just a couple questions come to mind:
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.