<BUG>import javax.servlet.http.HttpSession;public interface IdentitySwapperManager {</BUG><CONTEXT>package org.jasig.portal.security;import javax.portlet.PortletRequest;import javax.servlet.http.HttpServletRequest;<extra_id_0>boolean canImpersonateUser(IPerson currentUser, String targetUsername);boolean canImpersonateUser(String currentUserName, String targetUsername);void impersonateUser(PortletRequest portletRequest, IPerson currentUser, String targetUsername);</CONTEXT>
import org.springframework.security.core.Authentication;public interface IdentitySwapperManager {