Examples of IRole


Examples of com.iisigroup.cap.security.model.IRole

    protected Map<String, String> obtainRole(IUser user) {
        Map<String, String> mRoles = new HashMap<String, String>();
        List<IRole> roles = (List<IRole>) userDao.getRoleByUser(user);
        if (roles != null) {
            for (int i = 0; i < roles.size(); i++) {
                IRole role = roles.get(i);
                mRoles.put(role.getCode(), role.getName());
            }
        }
        return mRoles;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.