index.ftl revision ec6f3779c641cb13f915072f87a5d11a6b74ba0c
<!--
~ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
~
~ 2012 ForgeRock AS. All rights reserved.
~
~ The contents of this file are subject to the terms
~ of the Common Development and Distribution License
~ (the License). You may not use this file except in
~ compliance with the License.
~
~ You can obtain a copy of the License at
~ See the License for the specific language governing
~ permission and limitations under the License.
~
~ When distributing Covered Code, include this CDDL
~ Header Notice in each file and include the License file
~ If applicable, add the following below the CDDL Header,
~ with the fields enclosed by brackets [] replaced by
~ your own identifying information:
~ "Portions Copyrighted [year] [name of copyright owner]"
~ $Id$
-->
<!DOCTYPE html>
<html>
<head>
<title>The OpenAM OAuth2 Demo Page</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="viewport"
content="width=device-width; initial-scale=1.0; minimum-scale=1.0; maximum-scale=1.0; user-scalable=no;">
</head>
<body>
<div id="bg">
<div id="dialog">
<div id="dialogFrame">
<div id="dialogContainer" class="radious">
<div id="dialogContent"></div>
<div id="dialogActions"></div>
<div class="clear"></div>
</div>
</div>
</div>
<!-- #dialog -->
<div id="container">
<div id="header">
<div id="logo">
width="226"
height="60" alt="idm logo"/> </a>
</div>
<!-- #logo-->
<div class="clear"></div>
</div>
<!-- #header-->
<div id="menu">
<ul>
target="_blank">OpenAM</a></li>
target="_blank">OpenDJ</a></li>
class="last">OpenIDM</a></li>
</ul>
</div>
<!-- #menu-->
<div id="navi">
<div id="nav-content">
<a href="#" id="home_link" class="gray nodecorate"><span class="orange">Forge</span>Rock</a>
height="5" width="3">
<span style="display: inline;">${page_name}</span>
</div>
<!-- #navi-->
<div id="messages">
</div>
<!-- #messages -->
<div class="clear"></div>
</div>
<!-- #navi -->
<div style="display: block;" id="content">
<div id="registration">
<h2 class="floatLeft">Test OAuth2 authentication flows</h2>
<div class="clear"></div>
<div class="shadowFrame">
<#if error??>
<h4>Error Message:</h4>
<#if error_uri??>
<a href="${error_uri}">${error}</a>
<#else>
${error}
</#if>
</#if>
<#if protected??>
<p>The protected resource has been presented for
this access_token<br/>
<#if protected.uri??>
<#else>
</#if>
</p>
<#if protected.scope??>
<hr/>
<h4>The token scope:</h4>
<div class="field"><b>${g}</b></div>
</#list>
</#if>
</#if>
<#else>
<p>The protected content is not available. </p>
</#if>
<hr/>
<h4>Test parameters:</h4>
<p>Custom action: ${page_action?if_exists} </p><br/>
<#if page_scope??>
<#if page_scope?has_content>
<h4>Requested Scopes:</h4>
<#list page_scope as g>
<div class="field"><b>${g}</b></div>
</#list>
</#if>
</#if>
</div>
</div>
</div>
<!-- #content-->
</div>
<!-- #container-->
<div id="footer">
<div id="footer-content">
height="41"/></a><br/>
<a href="mailto: info@forgerock.com" class="orange">info@forgerock.com</a>, or phone +47
21081746. <br/>
Copyright © 2012 ForgeRock, all rights reserved.
</div>
</div>
<!-- #footer-->
</div>
<!-- #bg -->
</body>
</html>