| 限定符和类型 | 字段和说明 |
|---|---|
protected Authenticator |
authenticator
认证器
|
protected Authorizer |
authorizer
授权器
|
protected AuthChecker |
checker
检验器
|
| 构造器和说明 |
|---|
BaseAuth() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
auth(AuthCommand cmd)
授权
|
void |
check(AuthCommand cmd)
检查
|
protected Object |
check(AuthIdentity identity,
Object token)
检查
|
protected AuthIdentity |
createIdentity()
创建身份
|
void |
destroy()
注销
|
void |
initial()
初始
|
protected boolean |
isIgnore(Object token)
忽略
|
void |
login(AuthCommand cmd)
登录
|
protected AuthToken<?> |
login(AuthIdentity identity,
AuthToken<?> token)
登录
|
void |
logout(AuthCommand cmd)
登出
|
protected void |
logout(AuthIdentity identity)
登出
|
getParameter, getParameters, operate, orderprotected AuthChecker checker
protected Authenticator authenticator
protected Authorizer authorizer
public void initial()
public final void login(AuthCommand cmd)
protected AuthIdentity createIdentity()
protected AuthToken<?> login(AuthIdentity identity, AuthToken<?> token)
identity - token - public final void check(AuthCommand cmd)
protected Object check(AuthIdentity identity, Object token)
identity - token - protected boolean isIgnore(Object token)
token - public final void auth(AuthCommand cmd)
public final void logout(AuthCommand cmd)
protected void logout(AuthIdentity identity)
identity - Copyright © 2024. All rights reserved.