<%@ page import="org.jasig.portal.security.provider.*" %> <%@ page import="org.jasig.portal.security.*" %> <%@ page import="java.util.*" %> <%@ page import="com.pipeline.bom.Person_3" %> <%@ page import="com.pipeline.bom.PersonManager_3" %> <%@ page import="com.pipeline.bom.BomManagerFactory" %> <%@ page import="com.pipeline.web.WebUtil" %> <%@ page import="java.net.*" %> <% //Check to see if this is the Google search appliance String googleApplianceAgent="gsa-crawler"; String userAgent = request.getHeader("User-Agent"); //index will be greater than 0 if the GSA is detected int index=userAgent.indexOf(googleApplianceAgent); //pass-through authentication ------------------------------------------------------ if (index < 0){ //if this is not the Google search appliance String username = ""; try{ SimplePersonManager doriPerson = new SimplePersonManager(); IPerson i = doriPerson.getPerson(request); String uid = (String)i.getAttribute("urn:sungardhe:dir:loginId"); //out.println(uid); username = uid; }catch (java.lang.NullPointerException e){ //user not logged in - redirect to login String theRedirectURL = "/cp/home/displaylogin?goto=" + URLEncoder.encode(request.getRequestURL().toString().replace("http://", "https://")); %> <% }catch (Exception e){ out.println("Error: " + e); } } //END pass-through authentication ------------------------------------------------------ %>
<% //put content in school frame if this is not the Google search appliance if (index < 0){ %> <% } %>

History

Social Media

Department of History

Follow us on Twitter!

In just 140 characters, learn about class cancellations, upcoming events, Department happenings, student and faculty success stories, and much, much more. Plus, we're fun! Follow us at @DuqHistory.

"Like" us on Facebook!

See photos, check out cool links, learn about what's going on in the world of History in more than 140 characters. "Like" us at www.facebook.com/DuquesneHistory. (And while you're at it, be sure to "like" Duquesne University's Facebook page, too!)

Read our blog!

Get the inside scoop on what's going on in the world of the History Department. We're more than just an office--we're a community of students, scholars, and workers. Visit our blog! And who knows? Maybe we'll ask you to be a guest blogger!

What other social media resources might be of interest, you ask? Check these out!

Duquesne University

Career Services

American Historical Association

Carnegie Museum of Art

Carnegie Museum of Natural History

College Art Association

Heinz History Center

Historical Society of Pennsylvania

National Council on Public History

Organization of American Historians

Pennsylvania Historical Association

Phi Alpha Theta (National History Honors Society)