com.bstek.dorado.console.authentication
public class OpenAuthenticationManager extends java.lang.Object implements AuthenticationManager
Constructor and Description |
---|
OpenAuthenticationManager() |
Modifier and Type | Method and Description |
---|---|
boolean |
authenticate(java.lang.String name,
java.lang.String password)
验证用户名密码是否正确
|
boolean |
isAuthenticated(javax.servlet.http.HttpServletRequest request)
获得认证状态
|
public boolean authenticate(java.lang.String name, java.lang.String password)
AuthenticationManager
authenticate
in interface AuthenticationManager
public boolean isAuthenticated(javax.servlet.http.HttpServletRequest request)
AuthenticationManager
isAuthenticated
in interface AuthenticationManager
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.