The proxy gets the page and detects if there are any login form. If such is found it is displayed for the user. When he/she submits the form user login info is stored in the SecretStore of SiteVision. Next time the user uses the proxy against the application, the proxy will try to log on with the login info that are stored in SecretStore. If this succeeds the user will automatically be logged on and if not the proxy will display the login form of the application.
<xsl:import href="template.xsl"/>
<!-- Detect login form -->
<xsl:template match="/html[//table/@class='loginContent']">
<xsl:call-template name="loginform">
<xsl:with-param name="loginparameters" select="'UserName,Password,LanguageList'"></xsl:with-param>
</xsl:call-template>
</xsl:template>
<!-- Show logout link -->
<xsl:template match="/html/body">
<xsl:call-template name="logout">
<xsl:with-param name="loginurl">/ifolder/Login.aspx</xsl:with-param>
</xsl:call-template>
</xsl:template>
</xsl:stylesheet>
Last updated: