Package cn.com.manager.permission.checker

Examples of cn.com.manager.permission.checker.PermissionChecker


    static {
        resetPermission();
    }

    public static void resetPermission() {
        PermissionChecker permissionChecker = new PermissionChecker();
        permissionChecker.registerPermission(PermissionChecker._PERMISSION_ACTION, new ProgramPermission());
        permissionChecker.registerPermission(PermissionChecker._PERMISSION_SECRET, new SecretPermission());
        // TODO数据库填充
        _USER_PERMISSION_CHECKER.put("1", permissionChecker);

    }
View Full Code Here

TOP

Related Classes of cn.com.manager.permission.checker.PermissionChecker

Copyright © 2018 www.massapicom. 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.