1 19 20 package com.sslexplorer.security; 21 22 import javax.servlet.http.HttpServletRequest ; 23 import javax.servlet.http.HttpServletResponse ; 24 25 import org.apache.struts.action.ActionForward; 26 import org.apache.struts.action.ActionMapping; 27 28 import com.sslexplorer.core.RequestParameterMap; 29 30 66 public interface AuthenticationModule { 67 68 73 public void init(AuthenticationScheme session); 74 75 80 public String getName(); 81 82 88 public void authenticationComplete() throws SecurityErrorException ; 89 90 107 public Credentials authenticate(HttpServletRequest request, RequestParameterMap parameters) throws 108 InvalidLoginCredentialsException, 109 AccountLockedException, 110 SecurityErrorException, 111 InputRequiredException; 112 113 120 public String getInclude(); 121 122 136 public ActionForward startAuthentication(ActionMapping mapping, HttpServletRequest request, HttpServletResponse response) throws SecurityErrorException ; 137 138 146 public boolean isRequired(); 147 148 } 149 150 | Popular Tags |