1 20 21 package com.methodhead.auth; 22 23 import javax.servlet.http.HttpServletRequest ; 24 import org.apache.struts.action.ActionForm; 25 import com.methodhead.util.OperationContext; 26 27 31 public interface AuthPolicy { 32 33 35 37 39 42 public AuthUser newUser(); 43 44 51 public boolean autoLogin( 52 AuthUser user, 53 HttpServletRequest request, 54 ActionForm form ); 55 } 56 | Popular Tags |