public class PrivilegeHandlerFactory
extends java.lang.Object
构造器和说明 |
---|
PrivilegeHandlerFactory() |
限定符和类型 | 方法和说明 |
---|---|
static PrivilegeHandler |
getAuthErrorHandler() |
static PrivilegeHandler |
getAuthTimeoutHandler() |
static PrivilegeHandler |
getEncryptSignInHandler() |
static PrivilegeHandler |
getRoleErrorHandler() |
static void |
registerAuthErrorHandler(PrivilegeHandler authErrorHandler)
设置认证失败的事件处理
|
static void |
registerAuthTimeoutHandler(PrivilegeHandler authTimeoutHandler)
设置认证超时的事件处理
|
static void |
registerEncryptSignInHandler(PrivilegeHandler encryptSignInHandler)
注册模板加密需要权限认证处理
|
static void |
registerRoleErrorHandler(PrivilegeHandler roleErrorHandler)
设置角色认证失败的事件处理
|
public static void registerAuthErrorHandler(PrivilegeHandler authErrorHandler)
authErrorHandler
- 事件处理public static void registerRoleErrorHandler(PrivilegeHandler roleErrorHandler)
roleErrorHandler
- 事件处理public static void registerAuthTimeoutHandler(PrivilegeHandler authTimeoutHandler)
authTimeoutHandler
- 事件处理public static void registerEncryptSignInHandler(PrivilegeHandler encryptSignInHandler)
encryptSignInHandler
- 事件处理public static PrivilegeHandler getAuthErrorHandler()
public static PrivilegeHandler getRoleErrorHandler()
public static PrivilegeHandler getAuthTimeoutHandler()
public static PrivilegeHandler getEncryptSignInHandler()