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

org.tinygroup.menutree.manager.UserAuthManager Maven / Gradle / Ivy

The newest version!
package org.tinygroup.menutree.manager;

import org.tinygroup.menutree.config.User;

import java.util.List;

/**
 * Created by wangwy11342 on 2016/10/18.
 */
public interface UserAuthManager {
    /**
     * 加载用户列表
     * @param userList
     */
    void load(List userList);

    /**
     * check用户是否有权限
     * @param userName
     * @param password
     * @return
     */
    boolean checkUser(String userName,String password);

    /**
     * 获取从资源中读取的菜单id
     * @param userName 用户名
     * @return
     */
    List getAuthMenuIds(String userName);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy