use of org.wso2.carbon.identity.role.mgt.core.RoleManagementEventPublisherProxy in project carbon-identity-framework by wso2.
the class RoleManagementServiceImpl method getPermissionListOfRole.
@Override
public List<String> getPermissionListOfRole(String roleID, String tenantDomain) throws IdentityRoleManagementException {
RoleManagementEventPublisherProxy roleManagementEventPublisherProxy = RoleManagementEventPublisherProxy.getInstance();
roleManagementEventPublisherProxy.publishPreGetPermissionListOfRole(roleID, tenantDomain);
List<String> permissionListOfRole = roleDAO.getPermissionListOfRole(roleID, tenantDomain);
roleManagementEventPublisherProxy.publishPostGetPermissionListOfRole(roleID, tenantDomain);
if (log.isDebugEnabled()) {
log.debug(String.format("%s get list of permissions of role of id : %s successfully.", getUser(tenantDomain), roleID));
}
return permissionListOfRole;
}
Aggregations