Jive 的 admin/users.jsp ( 用户概览页面 )
<%@ include file="global.jsp" %>
Jive 的 admin/global.jsp
<% // Security check
Authorization authToken = (Authorization)session.getAttribute("jive.admin.authorization");
if (authToken == null) {
response.sendRedirect("login.jsp");
return;
}
Authorization authToken = (Authorization)session.getAttribute("jive.admin.authorization");
if (authToken == null) {
response.sendRedirect("login.jsp");
return;
}
else {
// check for an anonymous user token
if (authToken.isAnonymous()) {
response.sendRedirect("login.jsp");
return;
}
}
// Get the forum factory object.
ForumFactory forumFactory = ForumFactory.getInstance(authToken);
// Get the user of this page
User pageUser = null;
try {
forumFactory.getUserManager().getUser(authToken.getUserID());
}
catch (Exception e) {
response.sendRedirect("login.jsp");
return;
}
String onload = "";
%>