📄 openidloggedin.jsp
字号:
<%@page import="org.wso2.solutions.identity.relyingparty.TokenVerifierConstants"%>
<%@page import="org.wso2.solutions.identity.relyingparty.HTMLEncoder"%>
<%@page import="org.wso2.solutions.identity.IdentityConstants"%>
<%@page import="org.wso2.solutions.identity.relyingparty.openid.OpenIDConsumer "%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
</head>
<body>
<table cellpadding="0" cellspacing="0" border="0" style="width: 100%;">
<tr>
<%
String auth = (String)request.getAttribute(TokenVerifierConstants.SERVLET_ATTR_STATE);
if(auth != null && TokenVerifierConstants.STATE_SUCCESS.equals(auth)) {
%>
<table cellpadding="0" cellspacing="10" border="0"
<tr>
<td valign="top" width="30%">
<strong>Logged in Successfully...!</strong><br />
</td>
</tr>
<% if (request.getAttribute("auth_policies") != null) { %>
<tr>
<td>Authentication Policies:</td>
<td><%=request.getAttribute("auth_policies")%></td>
</tr>
<%}%>
<% if (request.getAttribute("nist_auth_level") != null) { %>
<tr>
<td>NIST Auth Level:</td>
<td><%=request.getAttribute("nist_auth_level")%></td>
</tr>
<%}%>
<% if (request.getAttribute("auth_age") != null) { %>
<tr>
<td>Auth Age:</td>
<td><%=request.getAttribute("auth_age")%></td>
<hr/>
</tr>
<%}%>
<% if (request.getAttribute("openid_identifier") != null) { %>
<tr>
<td>Your OpenID:</td>
<td><%=request.getAttribute("openid_identifier")%></td>
</tr>
<%}%>
<% if (request.getAttribute("nickname") != null) { %>
<tr>
<td>Nick Name:</td>
<td><%=request.getAttribute("nickname")%></td>
</tr>
<%}%>
<% if (request.getAttribute("fullname") != null) { %>
<tr>
<td>Full Name:</td>
<td><%=request.getAttribute("fullname")%></td>
</tr>
<%}%>
<% if (request.getAttribute("email") != null) { %>
<tr>
<td>Email Address:</td>
<td><%=request.getAttribute("email")%></td>
</tr>
<%}%>
<% if (request.getAttribute("dob") != null) { %>
<tr>
<td>DOB:</td>
<td><%=request.getAttribute("dob")%></td>
</tr>
<%}%>
<% if (request.getAttribute("gender") != null) { %>
<tr>
<td>Gender:</td>
<td><%=request.getAttribute("gender")%></td>
</tr>
<%}%>
<% if (request.getAttribute("postcode") != null) { %>
<tr>
<td>Postcode:</td>
<td><%=request.getAttribute("postcode")%></td>
</tr>
<%}%>
<% if (request.getAttribute("country") != null) { %>
<tr>
<td>Country:</td>
<td><%=request.getAttribute("country")%></td>
</tr>
<%}%>
<% if (request.getAttribute("language") != null) { %>
<tr>
<td>Language:</td>
<td><%=request.getAttribute("language")%></td>
</tr>
<%}%>
<% if (request.getAttribute("timezone") != null) { %>
<tr>
<td>Timezone:</td>
<td><%=request.getAttribute("timezone")%></td>
</tr>
<%}%>
<% if (request.getAttribute("nicknameax") != null) { %>
<tr>
<td>Nick Name:</td>
<td><%=request.getAttribute("nicknameax")%></td>
</tr>
<%}%>
<% if (request.getAttribute("fullnameax") != null) { %>
<tr>
<td>Full Name:</td>
<td><%=request.getAttribute("fullnameax")%></td>
</tr>
<%}%>
<% if (request.getAttribute("emailax") != null) { %>
<tr>
<td>Email Address:</td>
<td><%=request.getAttribute("emailax")%></td>
</tr>
<%}%>
<% if (request.getAttribute("dobax") != null) { %>
<tr>
<td>DOB:</td>
<td><%=request.getAttribute("dobax")%></td>
</tr>
<%}%>
<% if (request.getAttribute("genderax") != null) { %>
<tr>
<td>Gender:</td>
<td><%=request.getAttribute("genderax")%></td>
</tr>
<%}%>
<% if (request.getAttribute("postcodeax") != null) { %>
<tr>
<td>Postcode:</td>
<td><%=request.getAttribute("postcodeax")%></td>
</tr>
<%}%>
<% if (request.getAttribute("countryax") != null) { %>
<tr>
<td>Country:</td>
<td><%=request.getAttribute("countryax")%></td>
</tr>
<%}%>
<% if (request.getAttribute("languageax") != null) { %>
<tr>
<td>Language:</td>
<td><%=request.getAttribute("languageax")%></td>
</tr>
<%}%>
<% if (request.getAttribute("timezoneax") != null) { %>
<tr>
<td>Timezone:</td>
<td><%=request.getAttribute("timezoneax")%></td>
</tr>
<%}%>
</table>
<%
} else {
%>
<table>
<tr>
<td><strong>Login failed...!</strong><br />
</td>
</tr>
</table>
<%}%>
</td>
</tr>
</table>
<br/><br/>
<a href="index.html">Back</a>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -