If you plan to deploy only the "One-Time password" based authentication in your user base using OTP tokens such as Deepnet SafeID, MobileID, then you can configure your Citrix NetScaler to work in the so-called One-Step Logon mode.
Using One-Step Logon process, Netscaler will use Active Directory as the primary authentication server and DualShield as the Secondary authentication server. Your AD will be responsible for verifying users’ AD passwords and DualShield will be responsible for verifying users’ One-Time password only.
In the DualShield Administration Console, edit the Logon Procedure for your NetScaler application. You only require One Logon Step, typically “One-Time Password” as the authentication method:
![DualShield MFA Platform > One-Step Logon [CTX-RADIUS] > image-2024-11-28_11-10-38.png](/download/attachments/35946825/image-2024-11-28_11-10-38.png?version=1&modificationDate=1732792237931&api=v2)
![DualShield MFA Platform > One-Step Logon [CTX-RADIUS] > DS Auth Policy.png](/download/attachments/35946825/DS%20Auth%20Policy.png?version=1&modificationDate=1587385533000&api=v2)
![DualShield MFA Platform > One-Step Logon [CTX-RADIUS] > DS Auth Policy1.png](/download/attachments/35946825/DS%20Auth%20Policy1.png?version=1&modificationDate=1587385533000&api=v2)
![DualShield MFA Platform > One-Step Logon [CTX-RADIUS] > image2014-4-11 10:40:26.png](/download/attachments/35946825/image2014-4-11%2010%3A40%3A26.png?version=1&modificationDate=1587385533000&api=v2)
Navigate to the Citrix NetScaler Access Gateway logon page:
![DualShield MFA Platform > One-Step Logon [CTX-RADIUS] > UnifiedGatewayRadius1Step.png](/download/attachments/35946825/UnifiedGatewayRadius1Step.png?version=1&modificationDate=1587385533000&api=v2)
The logon form consists of 3 fields:
You can customise NetScaler Access Gatway’s logon page to make it more user friendly. For instance, you may want to change “Password1” to “Password” or “Ad Password”, “Password2” to “Passcode” or “One-Time Password”.
The article below is the general instruction for customising Access Gateway logon page:
http://support.citrix.com/article/CTX126206
The basis of the customisation is to change relevant HTML and Javascript files in the NetScaler appliance. These file can be accessed via SSH in the folder below:
/netscaler/ns_gui/vpn
![DualShield MFA Platform > One-Step Logon [CTX-RADIUS] > image2014-4-11 10:44:47.png](/download/attachments/35946825/image2014-4-11%2010%3A44%3A47.png?version=1&modificationDate=1587385533000&api=v2)
As an example, if you just want to “Password1” to “Password” and “Password2” to “Passcode”, then you need to edit the “login.js” file and replace the function “ns_showpwd()” with the following code:
function ns_showpwd()
{
var pwc = ns_getcookie("pwcount");
document.write('<TR><TD align=right style="padding-right:10px;white-space:nowrap;"><SPAN class=CTXMSAM_LogonFont>Password:</SPAN></TD>');
document.write('<TD colspan=2 style="padding-right:8px;"><input class="CTXMSAM_ContentFont" type="Password" title="' + _("Enter password") + '" name="passwd" size="30" maxlength="32" style="width:100%;"></TD></TR>');
if ( pwc == 2 )
{
document.write('<TR><TD align=right style="padding-right:10px;white-space:nowrap;"><SPAN class=CTXMSAM_LogonFont>Passcode:</SPAN></TD>');
document.write('<TD colspan=2 style="padding-right:8px;"><input class="CTXMSAM_ContentFont" type="Password" title="' + _("Enter password") + '" name="passwd1" size="30" maxlength="32" style="width:100%;"></TD></TR>');
}
UnsetCookie("pwcount");
}
The Access Gateway logon page will be presented as:
![DualShield MFA Platform > One-Step Logon [CTX-RADIUS] > image2014-4-11 10:46:36.png](/download/attachments/35946825/image2014-4-11%2010%3A46%3A36.png?version=1&modificationDate=1587385533000&api=v2)
![DualShield MFA Platform > One-Step Logon [CTX-RADIUS] > image2014-4-11 10:48:49.png](/download/attachments/35946825/image2014-4-11%2010%3A48%3A49.png?version=1&modificationDate=1587385533000&api=v2)