Package net.webpasswordsafe.common.util.Constants

Examples of net.webpasswordsafe.common.util.Constants.Role


            {
                String reportName = action.substring(Constants.VIEW_REPORT_PREFIX.length());
                Map<String, Object> report = reportConfig.getReport(reportName);
                if (report != null)
                {
                    Role reportRole = Role.valueOf((String)report.get(Constants.ROLE));
                    isAuthorized = user.getRoles().contains(reportRole);
                }
            }
        }
View Full Code Here

TOP

Related Classes of net.webpasswordsafe.common.util.Constants.Role

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.