0 votes

We are creating an in-house developed portal for our customers. One of the features in our portal will be the user management which will be provided through Adaxes Web Interface. The customer will log in to our developed portal through AD credentials. Is there a way to pass AD credentials off to Adaxes' Web Interface? In a way of a cookie? session? URL encoded string?

Any information will help the developers on our end.

by (850 points)

1 Answer

0 votes
by (18.9k points)

Hello,

It is possible to pass user credentials programmatically to Adaxes Web Interface. Here you have 2 options:

1. Call the SignIn method on the Adaxes authentication web service (AuthenticationService.asmx).

Using ASP.NET AJAX Extentions:

   Sys.Net.WebServiceProxy.invoke("/AdaxesAdmin/AuthenticationService.asmx", "SignIn", false, 
   {'username': username, 'password': password}, function(){location.href = "/AdaxesAdmin/Default.aspx"}, 
    function(error){alert(error.get_message())});

Using jQuery:

            $.ajax({
            'type':'POST',
            'url': "/AdaxesAdmin/AuthenticationService.asmx/SignIn",
            'data': "{username: \""+ username + "\", password: \"" + password + "\"}", 
            'dataType': "json",
            'contentType': "application/json; charset=utf-8",
            'success': function(){location.href = "/AdaxesAdmin/Default.aspx"},
            'error': function(jqXHR, textStatus, errorThrown)
            {
               var responseJson = $.parseJSON(jqXHR.responseText);
               alert(responseJson.Message);
            }
          });

Please note that this method will work only if your web site and Adaxes Web Interface are hosted in the same domain.

2. Pass user name and password in the sign in URL:
http://server.com/AdaxesAdmin/SignIn.aspx?username=user@domain.com&password=pwd

0

Since we are developing our in house application in PHP, I will keep every one updated if we decide to use the PHP Microsoft AJAX Library located at http://phpmsajax.codeplex.com

0

Hello,

Is something like this still possible with recent versions of Adaxes? e.g. with 2018.2

Thanks,
Chris

0

Nevermind, I see that it is. You just post to /SignIn instead.

Thanks!
-Chris

Related questions

0 votes
1 answer

Is it possible to pass credentials to Adaxes web interface in order to skip log on?

asked Sep 7, 2011 by abdutal (880 points)
0 votes
1 answer

In the web interface, I would like to display the "Distinguished Name" property but it is not showing it as it would when using ADUC or even in the Adaxes Admin Console. Is ... I would like it to display like this: CN=Mark Smith,OU=Sales,DC=Fabrikam,DC=COM

asked Jan 15 by mark.it.admin (3.5k points)
0 votes
0 answers

Hello, I want to give the ability for the Help Desk to add a new IE trusted site. I did a Custom Commands that works well. $scriptBlock = Powershell { Import-Module Adaxes Import ... ( $Zone). The GPO name ($GPOName)will never change. It is possible to do it?

asked May 31, 2016 by tentaal (5.4k points)
+1 vote
1 answer

With the newer version of Adaxes, there does not seem to be the ablity for users to export their own reports with a button-click from the web interface. Users need to be able ... not readily apparent how to do this. Is there a doc somewhere or a quick answer?

asked Mar 31 by JORear (490 points)
0 votes
0 answers

Good afternoon Support, I have configured a new stack of servers in the same topology of our existing environment but have hit a snag when trying to terminate SSL on the F5 ... 7.13122.0 and 3.7.11926.0 running Windows Server 2012R2 fully patched by Microsoft.

asked Jul 12, 2016 by strikk (2k points)
2,188 questions
1,952 answers
5,397 comments
5,394 users