Hello, I have build an ASP.NET MVC 5 based Responsive Application with HTML5, Bootstrap and jQuery so it should run in many kind of devices. Application runs in IIS and uses AX's Custom Services. But what comes to Authentication against AX 2012 I don't quite know what technique would be best. Application is still a Web Application so should it still used Authentication methods that ordinary Web Applications do? I think maybe.
Can anyone suggest me some Authentications methods to this Web Application vs. AX Custom Service case? Like to hear from your experiences,
Best Regards,
Michael
*This post is locked for comments
Hi Mike, you can use on summary:
- Concept of trusted intermediary (create claims user into AX )
- add Claims user created and other Domain user into Ax custom service by Inbound port Form, button Trusted Intermediary users.
- Into Web.Confi file you need to add claim user.
<client>
<endpoint address="net.tcp://InstanceName:8201/DynamicsAx/Services/CustomService" binding="netTcpBinding" bindingConfiguration="NetTcpBinding_ServiceName" contract="InvernegReference.ServiceName" name="NetTcpBinding_ServiceName">
<identity>
<userPrincipalName value="ClaimUserName@DomainComapany.com" />
</identity>
</endpoint>
</client>
- Setup IIS pool application authentication properties and link the DOMAIN USER added into Trusted Intermediary users
In this way I can work with my web mobile app and AX 2012 R2.
Hi,
I think the authentication method to choose depends if your web users have accounts in Active Directory or not. Probably you will have to implement claims based authentication (like the SharePoint based AX Enterprise Portal is using)
http://msdn.microsoft.com/en-us/library/hh291068(v=vs.110).aspx
p.s.
Sorry, Martin is absolutely right, if you are asking how to authenticate against the WCF service (AX Custom Service) then forget my post :)
BR,
Oleg
Are you talking about authenticating the web server or individual users using your application?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,151 Super User 2024 Season 2
Martin Dráb 229,963 Most Valuable Professional
nmaenpaa 101,156