All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.featherfly.permission.authentication.Authenticator Maven / Gradle / Ivy

There is a newer version: 0.1.13
Show newest version
package cn.featherfly.permission.authentication;

import cn.featherfly.permission.core.PermissionActor;

/**
 * 

* 认证者 *

* * @param * 泛型,用于具体行动者的定义 * @param * 泛型,用于具体依赖环境的定义 * @author 钟冀 */ public interface Authenticator { /** *

* 认证. 认证失败抛出AuthenticationException异常 *

* * @param actor * 行动者 * @param env * 依赖环境 */ void authenticate(A actor, E env); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy