What's New in Apama > What's New in Apama 5.1 > Dashboard login redirect file name has changed
Dashboard login redirect file name has changed
The loginRedirect.html file has been renamed to loginRedirect.jsp.
In previous releases, the loginRedirect.html file appeared if you tried to display a dashboard before you logged in or after your session expired. With this release, the new name of this file is loginRedirect.jsp.
The default behavior of loginRedirect.jsp is to redirect the user to the dashboard’s form authentication page. If you have implemented a custom login, you must create a custom version of loginRedirect.jsp. For example:
<meta HTTP-EQUIV="REFRESH" content="0; url="../userLogin">
<html>
<head>
<title>Apama: Login Redirect from Dashboard</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
</head>
<body/>
</html>
In this sample custom loginRedirect.jsp file, "../userLogin" is a custom login page.
To enable your custom loginRedirect.jsp file, replace the provided version of it in the following locations:
*APAMA_INSTALL\etc\template.war
*APAMA_INSTALL\etc\dispTemplate.war
After your custom loginRedirect.jsp file is in place, you must re-deploy your dashboards.
Copyright © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.