net.shmin.auth.authentication.PasswordValidator Maven / Gradle / Ivy
package net.shmin.auth.authentication;
import net.shmin.core.dto.CommonResponseDTO;
import javax.servlet.http.HttpServletRequest;
/**
* Created by benjamin on 9/10/14.
*/
public interface PasswordValidator {
/**
* 用户名密码登录 需要用户自己实现
*
* @param request
* @return
*/
CommonResponseDTO login(HttpServletRequest request) throws Exception;
}