public class BlackListService extends Object implements cn.stylefeng.roses.kernel.security.api.BlackListApi
黑名单的数据会在访问资源时被限制
| 构造器和说明 |
|---|
BlackListService(cn.stylefeng.roses.kernel.cache.api.CacheOperatorApi<String> cacheOperatorApi) |
public BlackListService(cn.stylefeng.roses.kernel.cache.api.CacheOperatorApi<String> cacheOperatorApi)
public void addBlackItem(String content)
addBlackItem 在接口中 cn.stylefeng.roses.kernel.security.api.BlackListApipublic void removeBlackItem(String content)
removeBlackItem 在接口中 cn.stylefeng.roses.kernel.security.api.BlackListApipublic Collection<String> getBlackList()
getBlackList 在接口中 cn.stylefeng.roses.kernel.security.api.BlackListApipublic boolean contains(String content)
contains 在接口中 cn.stylefeng.roses.kernel.security.api.BlackListApiCopyright © 2021. All rights reserved.