Search in sources :

Example 1 with AuthProps

use of com.nb6868.onex.common.auth.AuthProps in project onex-boot by zhangchaoxu.

the class BaseShiroConfig method initFilters.

/**
 * 初始化filters
 */
protected Map<String, Filter> initFilters(AuthProps authProps) {
    Map<String, Filter> filters = new HashMap<>();
    filters.put("shiro", new SimpleShiroFilter(authProps));
    return filters;
}
Also used : JwtShiroFilter(com.nb6868.onex.common.filter.JwtShiroFilter) Filter(javax.servlet.Filter) SimpleShiroFilter(com.nb6868.onex.common.filter.SimpleShiroFilter) SimpleShiroFilter(com.nb6868.onex.common.filter.SimpleShiroFilter)

Aggregations

JwtShiroFilter (com.nb6868.onex.common.filter.JwtShiroFilter)1 SimpleShiroFilter (com.nb6868.onex.common.filter.SimpleShiroFilter)1 Filter (javax.servlet.Filter)1