📄 openidapproval.jsp
字号:
<%@ page session="true"%>
<%@ page import="org.openid4java.message.ParameterList"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>WSO2 Identity Solution | Management Console</title>
<link type="text/css" rel="stylesheet" href="css/styles.css" />
<script language="JavaScript" type="text/JavaScript">
function showHide(){
var top_div=document.getElementById('claim-content');
if(top_div.style.display=='block') top_div.style.display='none';
else top_div.style.display='block';
}
</script>
</head>
<body>
<div class="page"><!-- START Header --> <s:include
value="header.jsp" /> <!-- END Header --> <%
ParameterList requestp = (ParameterList) session
.getAttribute("parameterlist");
String openidreturnto = requestp.hasParameter("openid.return_to") ? requestp
.getParameterValue("openid.return_to")
: null;
String openididentity = requestp.hasParameter("openid.identity") ? requestp
.getParameterValue("openid.identity")
: null;
%>
<table cellpadding="0" cellspacing="0" border="0" style="width: 100%;">
<tr>
<td class="right-back"></td>
<td class="content" valign="top">
<table cellpadding="0" cellspacing="0" border="0" style="width: 100%;">
<tr>
<td>
<h1>WSO2 Identity Provider</h1>
</td>
<td align="right" valign="top"><img
src="images/wso2-identity-content-rounded.jpg" align="top" /></td>
</tr>
</table>
<table cellpadding="0" cellspacing="10" border="0"
class="login-header">
<tr>
<td width="60%">
<div class="errors"><s:actionerror /> <s:fielderror /></div>
<table>
<tr>
<td><strong>The site <%=openidreturnto%> wants to
confirm your identity is <%=openididentity%>.</strong></td>
</tr>
</table>
<s:form action="/OpenIDUserApproval.action" name="approvalForm"
id="approvalForm" theme="simple" method="POST">
<table>
<tr>
<td width="40%">
<table cellpadding="0" cellspacing="3" border="0"
class="form-table">
<tr>
<td>Select profile:</td>
<td colspan="2"><s:select list="profile"
name="profileName" theme="simple"></s:select></td>
</tr>
<tr height="10">
<td colspan="3"></td>
</tr>
<tr>
<td><input type="submit" name="approval" value="Only Once"
class="button"></td>
<td><input type="submit" name="approval" value="Always"
class="button"></td>
<td><input type="submit" name="approval" value="Deny"
class="button"></td>
</tr>
</table>
</td>
</tr>
</table>
</s:form></td>
<td valign="top">
<div id="claim-title" onclick="showHide()"><img
src="images/arrow-down.gif" align="top"
style="margin-top: 5px; margin-left: 3px; margin-right: 3px;" />Click
to see the claim values being sent to the relying party<img
src="images/arrow-down.gif" align="top"
style="margin-top: 5px; margin-left: 3px; margin-right: 3px;" /></div>
<div id="claim-content"><a href="#" onClick="showHide();"
class="close-link">Close [ x ]</a>
<table cellpadding="0" cellspacing="0" border="0" class="data-table"
style="clear: both;">
<s:iterator value="claimValues">
<tr>
<td>
<div style="font-weight: bold; line-height: 18px;"><s:property
value="claim.displayTag" /></div>
<div style="line-height: 18px;"><s:property
value="claimValue" /></div>
</td>
</tr>
</s:iterator>
</table>
</div>
</td>
</table>
<br />
<br />
<br />
<br />
</td>
</tr>
</table>
</div>
<!-- Include footer -->
<s:include value="footer.jsp" />
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -