Package org.rhq.enterprise.server.authz

Examples of org.rhq.enterprise.server.authz.RoleManagerLocal.deleteRoles()


            log.trace("removing role [" + roles[i] + "]");
        }

        try {
            RoleManagerLocal roleManager = LookupUtil.getRoleManager();
            roleManager.deleteRoles(whoami, ArrayUtils.unwrapArray(roles));
        } catch (Exception e) {
            log.trace("failed to remove roles");
            RequestUtils.setError(request, "admin.role.error.RemoveRolePermission");
            return returnFailure(request, mapping);
        }
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.