You are viewing limited content. For full access, please sign in.

Question

Question

Using Windows Accounts in Java

SDK
asked on July 24, 2014

Hi,

I am using Java SDK APIs and I have users in "domainname\userId" formats.

session.logIn("domainname\\userId","password");

 

When I pass user id in this format and to make the string working in "domainname\\userId" format, it gives me exception as -

Exception in thread "main" com.laserfiche.repositoryaccess.AccessDeniedException: The user account or password is incorrect.

      at com.laserfiche.repositoryaccess.ProtocolUtil.decodeError(ProtocolUtil.java:83)

      at com.laserfiche.repositoryaccess.Session.doLogin(Session.java:757)

      at com.laserfiche.repositoryaccess.Session.logIn(Session.java:507)

Whereas I am able to login into the LF Client when proving user id in format "domainname\userId".

 

Is there any other format in which I need to pass user id?

What is the best way to work with windows accounts using java sdk?

 

Thanks,

Gupteshwar

0 0

Answer

APPROVED ANSWER
replied on July 24, 2014

See the "Using Windows Authentication with JRA" section in the SDK help for instructions on the configuration needed.

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.