public abstract class AbstractAuthenticationProvider extends java.lang.Object implements AuthenticationProvider
限定符和类型 | 字段和说明 |
---|---|
static int |
DAO_TYPE |
static int |
HTTP_TYPE |
static int |
LDAP_TYPE |
static int |
NO_TYPE |
static int |
USER_TYPE |
XML_TAG
构造器和说明 |
---|
AbstractAuthenticationProvider() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone() |
boolean |
isDetailAuthority()
是否是详细权限配置
|
void |
isRootManager(Authentication authentication)
是否是管理员
|
Authority[] |
listAuthorities()
所有角色
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
authenticate, uType
readXML
public static final int NO_TYPE
public static final int DAO_TYPE
public static final int LDAP_TYPE
public static final int HTTP_TYPE
public static final int USER_TYPE
public Authority[] listAuthorities() throws java.lang.Exception
listAuthorities
在接口中 AuthenticationProvider
java.lang.Exception
- 可能抛出数据集为空的异常public void isRootManager(Authentication authentication) throws java.lang.Exception
authentication
- 认证信息java.lang.Exception
- 异常public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 java.lang.Object
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常public boolean isDetailAuthority()
isDetailAuthority
在接口中 AuthenticationProvider