public class WhiteListService extends Object implements cn.stylefeng.roses.kernel.security.api.WhiteListApi
白名单的数据在访问资源时不受限
| 构造器和说明 |
|---|
WhiteListService(cn.stylefeng.roses.kernel.cache.api.CacheOperatorApi<String> cacheOperatorApi) |
public WhiteListService(cn.stylefeng.roses.kernel.cache.api.CacheOperatorApi<String> cacheOperatorApi)
public void addWhiteItem(String content)
addWhiteItem 在接口中 cn.stylefeng.roses.kernel.security.api.WhiteListApipublic void removeWhiteItem(String content)
removeWhiteItem 在接口中 cn.stylefeng.roses.kernel.security.api.WhiteListApipublic Collection<String> getWhiteList()
getWhiteList 在接口中 cn.stylefeng.roses.kernel.security.api.WhiteListApipublic boolean contains(String content)
contains 在接口中 cn.stylefeng.roses.kernel.security.api.WhiteListApiCopyright © 2021. All rights reserved.