1 18 package org.apache.beehive.netui.tomcat; 19 20 import javax.servlet.http.HttpServletRequest ; 21 import javax.servlet.http.HttpServletResponse ; 22 import javax.servlet.ServletContext ; 23 import javax.security.auth.login.LoginException ; 24 25 public interface PageflowHelper 26 { 27 public static final String PAGEFLOW_HELPER_KEY = "PAGEFLOW_HELPER"; 28 29 public void login( String username, String password, HttpServletRequest request ) 30 throws LoginException ; 31 32 public void logout( boolean invalidateSessions, HttpServletRequest request ); 33 34 43 public boolean doSecurityRedirect( String uri, HttpServletRequest request, HttpServletResponse response, 44 ServletContext servletContext ); 45 46 70 public Boolean isSecureResource( String uri, HttpServletRequest request ); 71 72 public int getListenPort( HttpServletRequest request ); 73 74 public int getSecureListenPort( HttpServletRequest request ); 75 76 77 } 78 | Popular Tags |