public class NoAuthenticationProvider extends AbstractAuthenticationProvider
DAO_TYPE, HTTP_TYPE, LDAP_TYPE, NO_TYPE, USER_TYPE
XML_TAG
构造器和说明 |
---|
NoAuthenticationProvider() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
authenticate(Authentication authentication)
验证用户是否通过验证
|
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
int |
uType()
标示认证方式的类型
|
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
clone, isDetailAuthority, isRootManager, listAuthorities
public void writeXML(XMLPrintWriter writer)
XMLWriter
writer
- XML写入对象public void readXML(XMLableReader reader)
XMLReadable
reader
- XML读取对象XMLableReader
public int uType()
public boolean authenticate(Authentication authentication) throws java.lang.Exception
authentication
- 包含用户信息的认证对象java.lang.Exception
- 认证失败