NIHVIVO-736 Modify JSPs to use the <vitro:confirmLoginStatus> custom JSP tag.
This commit is contained in:
parent
0bd050a78b
commit
66559f58ab
16 changed files with 68 additions and 110 deletions
|
@ -9,10 +9,12 @@
|
|||
<%@page import="edu.cornell.mannlib.vitro.webapp.dao.jena.JenaBaseDao"%>
|
||||
<%@page import="java.io.InputStream"%>
|
||||
<%@page import="java.util.Properties"%>
|
||||
<%@page import="edu.cornell.mannlib.vedit.beans.LoginStatusBean"%>
|
||||
<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.Controllers" %>
|
||||
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
|
||||
<%@ taglib prefix="vitro" uri="/WEB-INF/tlds/VitroUtils.tld" %>
|
||||
|
||||
<vitro:confirmLoginStatus level="DBA" />
|
||||
|
||||
|
||||
<%!
|
||||
|
@ -32,12 +34,6 @@
|
|||
%>
|
||||
|
||||
<%
|
||||
if (!LoginStatusBean.getBean(request).isLoggedInAtLeast(LoginStatusBean.DBA)) {
|
||||
%>
|
||||
<c:redirect url="<%= Controllers.LOGIN %>" />
|
||||
<%
|
||||
}
|
||||
|
||||
long startTime = System.currentTimeMillis();
|
||||
|
||||
Properties sesameProperties = new Properties();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue