Package org.rhq.enterprise.server.authz

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


        role.setPermissions(new HashSet<Permission>(editForm.getPermissions()));

        log.trace("saving role [" + roleId + "]");

        try {
            roleManager.updateRole(RequestUtils.getSubject(request), role);
        } catch (Exception ex) {
            log.debug("role update failed:", ex);
            RequestUtils.setError(request, Constants.ERR_ROLE_CREATION);
            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.