[frs-239] Automatically login to FusionReactor with a Cookie

Background

FusionReactor provides several user roles each allowing a different set of actions. The Observer role allows users view only access to the metrics FusionReactor is gathering.

In some organisations, it could be beneficial to allow users to automatically login as the Observer user. This can be achieved by setting a cookie on the client browser – this process is shown here.

Process Overview

  1. Find the Cookie



    • Login to FusionReactor in the normal way
    • Find the cookie in your browser / debugging-proxy
    • Save this information for later



  2. Logout of FusionReactor



  3. Create a login portal page




    Note: This page must be able to write cookies to the same (or parent) domain name



  4. Test

Screencast / Video How-To

@video(FRscreencast.jpg,fr_autologin4.swf,640,498)

Sample Code

autologin.html
<html>
	<head>
		<title>FusionReactor Auto-Login</title>
	</head>
	<body>
		<script type="text/javascript">
			document.cookie =
				'FusionReactorAuthorization.cfusion.jrun4.DJS02WORK3' +
				'=' +
				'Administrator:E69315267C51BB306D16D719107C832A' + 
				'; expires=Sat, 1 Jan 2011 00:00:00 UTC; path=/';
			window.location = 
				'http://localhost:8088/fusionreactor/';
		</script>
	</body>
</html>

Issue Details

Type: DevNet
Issue Number: FRS-239
Components: FusionReactor Settings
Environment:
Resolution: Fixed
Last Updated: 20/Nov/09 2:52 PM
Affects Version: 3.5
Fixed Version: 3.5
Server:
Platform:
Related Issues:

Comments are closed.