none
Validating credentials against Active Directory in Biztalk server RRS feed

  • Question

  • Hi,

    Have written the .net component to validate the credentials against Active Directory and called that component from biztalk expression. 

    all the time the flag value  setting to false even though if i provide the valid Credentials.

    Please let me know am i doing anything wrong in the below code and before validating what are  the things i should take care of.

    Thanks,

    Rajeshwari M.L


    Monday, September 19, 2016 10:19 AM

All replies

  • Hi Rajeshwari,

    are you sure that principalContext.ValidateCredentials function being called ?

    just write one event log and see whether this function is being executed or not.

    Regards

    Abhay Giri

    mark this as Answered if this reply provided your answer


    Monday, September 19, 2016 11:49 AM
  • HOLD ON!  STOP!

    Why do you think you have to do this?

    For a bunch of reasons, this is not a good pattern.


    • Edited by Johns-305MVP Monday, September 19, 2016 12:52 PM
    Monday, September 19, 2016 12:15 PM
  • Well, that's not what I mean.  Under no circumstances is this a good idea.

    Why aren't you checking this at the connection level such as AD Authentication in IIS?

    If you describe your scenario, we can help you build the correct pattern.

    Monday, September 19, 2016 1:17 PM