1 19 20 package com.sslexplorer.security.forms; 21 22 import java.util.List ; 23 24 import javax.servlet.http.HttpServletRequest ; 25 26 import org.apache.struts.action.ActionMapping; 27 28 import com.sslexplorer.core.forms.CoreForm; 29 30 public class SchemeSelectionForm extends CoreForm { 31 32 private List authenticationSchemes; 33 private String selectedAuthenticationScheme; 34 35 public void reset(ActionMapping mapping, HttpServletRequest request) { 36 selectedAuthenticationScheme = null; 37 authenticationSchemes = null; 38 } 39 40 public List getAuthenticationSchemes() { 41 return authenticationSchemes; 42 } 43 44 public void setAuthenticationSchemes(List authenticationSchemes) { 45 this.authenticationSchemes = authenticationSchemes; 46 } 47 48 public void setSelectedAuthenticationScheme(String selectedAuthenticationScheme) { 49 this.selectedAuthenticationScheme = selectedAuthenticationScheme; 50 } 51 52 public String getSelectedAuthenticationScheme() { 53 return selectedAuthenticationScheme; 54 } 55 } 56 | Popular Tags |