WiseJ and Active Directory

0
0

Does WiseJ support authentication using active directory to restrict/grant access based on group & user permissions.

Thanks

Ray

  • You must to post comments
0
0

On IIS

  • Disable Anonymous Authentication
  • Enable Windows Authentication

(Do not enable ASP.NET Impersonation since it doesn’t work any in ASP.NET with the integrated pipeline, it was deprecated long ago).

In Default.json add

“impersonate”: true

In your app check Environment.UserName or Application.UserIdentity. It will be the windows user of the client, if it’s logged in the same AD as the server of course. You can use AD to discover anything you can discover in .NET about the user, the app will act as the user logged in the machine with the browser. So any database connection can use integrated authentication, file system, etc.

 

  • You must to post comments
0
0

Luca

Thank you. I will need to see how to make this work.

Thanks

Ray

  • You must to post comments
0
0

Yes, add “impersonate”: true in Default.json then the thread on the server will impersonate the user. You need to configure IIS appropriately. Basically Wisej supports anything you can do with .NET. We use it in several large projects, including using Kerberos impersonation.

  • Tim Larson
    Hi Luca,, On this, the user’s computer needs to be on the network for this to work correct? Is there an ability to prompt for the username and password and impersonate that user from a browser not on the network where the server is on the network? Thanks -Tim
  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.