Forum Discussion

Hugo_Frauches_2's avatar
Oct 10, 2017

Split domain from full username for Basic Auth (401)

Hello,   Its possible to enable the option "Split domain from full username" for basic Authentication? I checked that its possible to configured this with the Forms Authentication using the Agent ...
  • Hugo_Frauches_2's avatar
    Oct 18, 2017

    I found a way to make this with TCL in another post here on the DevCetral, for doing that you need setup an Agent Box "Set Variable" with this command:

     

    session.logon.last.username =

     

    set username [string tolower [lindex [split [mcget {session.logon.last.username}] "@"] 0]] ; if { [llength [split $username "\"]] == 1 } then { username does not contain NT-Domain notation } else { set username [lindex [split $username "\"] 1] ; } ; return $username ;