gschouten32
New Member.
906 views

NAM 4.2 and Form Fill on Citrix Storefront 2.6


I'd like to do a Form Fill on a Citrix StoreFront site on the username
and password and after that the ok button.
I cannot figure out how to get this formfill working, hopefully some
can.

It looks like that the login functionality is generated inside the
default.htm.
This shows the default.htm (source code)
<div id="logonbox-logonform">
<!-- placeholder where the forms will be generated -->
</div>


The generated logonbox-logonform in the default.html:
<div id="logonbox-logonform">
<form class="form insertPoint credentialform"
action="ExplicitAuth/LoginAttempt" method="POST">
<div class="field CredentialTypeusername">
<div class="left">
<label class="label plain" for="username">User
name:</label>
</div>
<div class="right">
<div class="inlineAssistiveText">domain\user or
user@domain.com</div>
<input id="username" name="username"
style="background-image: none; position: absolute;" autocomplete="off"
spellcheck="false" type="text">
<div class="imageLayer"></div>
</div>
</div>
<div class="field CredentialTypepassword">
<div class="left">
<label class="label plain"
for="password">Password:</label>
</div>
<div class="right">
<input id="password" name="password" autocomplete="off"
spellcheck="false" type="password">
</div>
</div>
<div class="field CredentialTypesavecredentials" style="display:
none;">
<div class="field buttonsrow">
<div class="spacer"></div>
</form>




Full Source code Default.htm:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>xxx</title>
<meta name='viewport' content='width=device-width,
initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' >
<!--<link rel="SHORTCUT ICON" href="media/ReceiverSmall.ico" />-->
<link rel="icon" href="media/favicon.png" />
<link href="css/jquery-contextmenu.css" rel="stylesheet"
type="text/css"/>
<link href="css/jquery.jscrollpane.css" rel="stylesheet"
type="text/css"/>
<link href="css/Default.htm.style.min.css" rel="stylesheet"
type="text/css"/>
<link href="contrib/custom.style.css" rel="stylesheet"
type="text/css"/>
<script src="scripts/jquery.min.js"
type="text/javascript"></script>
<script src="scripts/jquery-ui.min.js"
type="text/javascript"></script>
<script src="scripts/jquery.contextmenu.js"
type="text/javascript"></script>
<script src="scripts/jquery.hammer.min.js"
type="text/javascript"></script>
<script src="scripts/jquery.mousewheel.js"
type="text/javascript"></script>
<script src="scripts/jquery.jscrollpane.min.js"
type="text/javascript"></script>
<script src="scripts/Default.htm.script.min.js"
type="text/javascript"></script>
<script src="contrib/custom.wrstrings.en.js"
type="text/javascript"></script>
<script src="contrib/custom.script.js"
type="text/javascript"></script>
</head>
<body>
<noscript>
<!-- JavaScript is not enabled, text in this section cannot be
localized using JavaScript -->
<div id="javascriptmessagepane" class="mainpane messagepane">
<div class="ctxsui-messagebox centered">
<div class="messagebox-middle">
<div class="messagebox-middlebody">
<h1 class="messagebox-title">JavaScript is
required</h1>
<p class="messagebox-body">Please enable
JavaScript in your browser before using Citrix Receiver.</p>
</div>
</div>
</div>
</div>
</noscript>
<div id="ruler-container">
<span id="ruler">placeholder</span>
</div>
<div id="pluginassistant" class="mainpane" role="alertdialog"
aria-live="polite">
</div>
<div id="pluginactivation" class="mainpane messagepane"
role="alertdialog" aria-live="polite">
</div>
<div id="prelogin-pane" class="mainpane custom-pane">
</div>
<div id="postlogin-pane" class="mainpane custom-pane">
</div>
<div id="authentication" class="mainpane">

<table border="0" cellpadding="0" cellspacing="0" width="100%"
height="100%">
<tr>
<td style="vertical-align:top">
<div class="top-border"></div>
<div id="logo"><div id="logo-box"><a href="http://www.xxx.nl/"
target="_blank"><img src="media/logo-rijksoverheid.svg" height="78px"
width="242px" border="0" /></a></div></div>
</td>
</tr>
<tr><td valign="top">

<div id="logonbox-container">
<div id="logonbox-innerbox">
<div id="main-title"><span
class="header-title">Welcome</span></div>
<div id="sub-title"><span class="header-small">Please
log on to continue</span></div>


<div id="logonbox-logonform">
<!-- placeholder where the forms will be generated
-->
</div>
<div id="logonbox-choices">
<!-- placeholder where the first-time-use choices
screen will be generated -->
</div>
</div>
</div>
</td></tr>
<tr>
<td style="vertical-align:bottom">
<div id="footer-comment"><span
class="footer-text">xxx</span></div>
<div class="bot-border"></div>
</td>
</tr>
</table>

</div>

<div id="credentialupdate" class="mainpane">
<div id="credentialupdate-topshadow">
</div>
<div id="credentialupdate-container">
<div id="credentialupdate-innerbox">
<div id="credentialupdate-logoarea">
<div id="credentialupdate-logoimage"></div>
</div>
<div id="credentialupdate-form">
<!-- placeholder where the forms will be generated
-->
</div>
</div>
</div>
<div id="credentialupdate-bottomshadow">
</div>
</div>
<div id="resources" class="mainpane">

<table border="0" cellpadding="0" cellspacing="0" width="100%"
height="100%">
<tr>
<td style="vertical-align:top">
<div id="logo"><div id="logo-box"><a href="http://xxx.nl/"
target="_blank"><img src="media/logo-rijksoverheid.svg" height="78px"
width="242px" border="0" /></a></div></div>
<div id="resources-header">
<div id="header-inner">
<div id="header-rightside">
<div id="header-userinfo">
<a id="header-username" role="menuitem"
aria-haspopup="true" href="#"><span></span></a>
</div>
<div id="resources-searcharea">
</div>
<div id="skiplinks">
</div>
</div>
</div>
</div>
</td>
</tr>
<tr><td valign="top">
<div id="resources-container">
<div id="resources-categoriesmenu">
</div>
<div id="resources-navigationbar">
<a role="menuitem" href="#" class="storebutton
_ctxstip_StoreButton" aria-haspopup="true"
aria-labelledby="storebutton-label-text"></a>
<span id="storebutton-label-text"
class="screenreader-only _ctxstxt_StoreButton"></span>
</div>
<div id="resources-myapps">
<div id="myapps-pane">
</div>
</div>
<div id="resources-mydesktops">
<div id="mydesktops-pane">
</div>
</div>
<div id="resources-appshortcuts">
<div id="appshortcuts-pane">
</div>
</div>
</div>
<div id="resources-footer">
<div id="resources-switcher">
</div>
<!--<div id="copyrightfooter">
<p id="copyrightFooterText">
</div>-->
</div>

</td></tr>
<tr>
<td style="vertical-align:bottom"><div id="footer-comment"><span
class="footer-text"></span></div></td>
</tr>

</table>



</div>
<!-- One of the main display panes (only one displayed at a time),
used for message screens such as logoff -->
<div id="mainmessagepane" class="mainpane messagepane"
role="alertdialog">
</div>
<!-- Modal dialog used for change password functionality -->
<div id="changepassword-dialog" role="alertdialog"
aria-describedby="messagebox-text">
</div>
<!-- Alert box is an overlay on top of other page content,
simulating a modal dialog -->
<div id="alertbox" role="alertdialog"
aria-describedby="messagebox-text">
</div>
<div id="hiddeniframes">
<div id="wizard-plugindetection">
<!--For the wizard-->
</div>
</div>
<div id="contextmenu">
<!-- Right click context menu to be created here to faciliate
event handling (bubbling)-->
</div>
</body>
</html>


--
gschouten32
------------------------------------------------------------------------
gschouten32's Profile: https://forums.netiq.com/member.php?userid=2546
View this thread: https://forums.netiq.com/showthread.php?t=57014

0 Likes
4 Replies
Knowledge Partner
Knowledge Partner

Re: NAM 4.2 and Form Fill on Citrix Storefront 2.6

I'd try and do a SAML integration with Citrix storefront instead.

In the long term your users will have a far better experience that way.

--
If you find this post helpful and are logged into the web interface, show
your appreciation and click on the star below...


Alex McHugh - Knowledge Partner - Stavanger, Norway
Who are the Knowledge Partners
If you appreciate my comments, please click the Like button.
If I have resolved your issue, please click the Accept as Solution button.
0 Likes
gschouten32
New Member.

Re: NAM 4.2 and Form Fill on Citrix Storefront 2.6


That's also an option but I have not much experience with that
configurarion.
Is there instruction how to configure AM with Netscaler (we have version
10.5)?


--
gschouten32
------------------------------------------------------------------------
gschouten32's Profile: https://forums.netiq.com/member.php?userid=2546
View this thread: https://forums.netiq.com/showthread.php?t=57014

0 Likes
Knowledge Partner
Knowledge Partner

Re: NAM 4.2 and Form Fill on Citrix Storefront 2.6

gschouten32 <gschouten32@no-mx.forums.microfocus.com> wrote:
>

That's also an option but I have not much experience with that
configurarion.
> Is there instruction how to configure AM with Netscaler (we have version

10.5)?

We have done it with Netscaler 10.5. In this scenario, NAM acts only as an
IDP. Haven't done it with Citrix storefront though (similar type of app
though)

The official SAML doc for Netscaler can be confusing. There is also
documentation specifically for configuring SSO with the version of
storefront you specified.

The doc refers to only ADFS examples, one can generally translate this to
work with NAM.



--
If you find this post helpful and are logged into the web interface, show
your appreciation and click on the star below...
Alex McHugh - Knowledge Partner - Stavanger, Norway
Who are the Knowledge Partners
If you appreciate my comments, please click the Like button.
If I have resolved your issue, please click the Accept as Solution button.
0 Likes
gschouten32
New Member.

Re: NAM 4.2 and Form Fill on Citrix Storefront 2.6


Our Storefront is protected by a Netscaler Gateway VIP, so I think the
design is the same; NAM has the IDP function and NSG the SP function.

I'm going to dive in to documentation you named, hopefully I will get it
working.


--
gschouten32
------------------------------------------------------------------------
gschouten32's Profile: https://forums.netiq.com/member.php?userid=2546
View this thread: https://forums.netiq.com/showthread.php?t=57014

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.