1 4 5 9 10 package org.openlaszlo.auth; 11 12 import java.util.*; 13 import javax.servlet.http.*; 14 15 public interface Authentication 16 { 17 21 void init(Properties prop) 22 throws AuthenticationException; 23 24 27 String getUsername(HttpServletRequest req, HttpServletResponse res, 28 HashMap param) throws AuthenticationException; 29 30 37 int login(HttpServletRequest req, HttpServletResponse res, 38 HashMap param, StringBuffer xmlResponse) 39 throws AuthenticationException; 40 41 48 int logout(HttpServletRequest req, HttpServletResponse res, 49 HashMap param, StringBuffer xmlResponse) 50 throws AuthenticationException; 51 } 52 | Popular Tags |