Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Share Point Authentication

  Asked By: Juan    Date: Mar 06    Category: Sharepoint    Views: 937

I have a webservice "APP1" which is a web app run on tomcat server.
This app authenticates using NTLM. Thru that application, I have to
push and pull some info from Share Point which is on another box and
also uses NTLM to authenticate. I info that is given is different for
different user (based on his ID). Now, I need to make this
authentication transperent to the user. How do I pass/forward the NTLM
credentials from web service to Share Point.. or how do I authenticate
to Sharepoint in such a senario??



4 Answers Found

Answer #1    Answered By: Doris Leach     Answered On: Mar 06

In general there's no way to pass the authentication  seamlessly - this is called
a "double hop" and is usually disallowed as a security risk. There are a few
options that come to mind:

1) Use some sort of SSO solution that pre-caches the user  credentials on the
tomcat side so they can be passed to one of the OOTB SharePoint web  services
2) Write a custom web service  for sharepoint  which allows you to authenticate  as
an administrator (via credentials stored on the tomcat side) and pass in the
user ID to get the info.
3) Require the user creds be sent with the initial web service request so they
can be passed on.

Answer #2    Answered By: Sumitra 2004     Answered On: Mar 06

Thanks. I will look into it...............

Answer #3    Answered By: Bhairavi Damle     Answered On: Mar 06

This is certainly the case for NTLM based  authentication, however if
you can use Kerberos it should not be a problem, you can hop as much
as you like. Saying that, it's not always easy to use Kerberos, you
need an AD in native mode etc. before you can use it.

Answer #4    Answered By: Leeann Hull     Answered On: Mar 06

Sorry for chiming in late on this, but if you haven't figured this out already,
you need to set up your server  for "trust for delegation" in AD.

Didn't find what you were looking for? Find more on Share Point Authentication Or get search suggestion and latest updates.