appendHtmlConstant("</div>");
return this;
}
HtmlGenerator startLinks(final SecurityContext securityContext, boolean groupLinks) {
AuthorisationDecision decision;
if (groupLinks) {
decision = securityContext.getOperationPriviledge("/server-group=*", "start-servers");
} else {
decision = securityContext.getOperationPriviledge("/{selected.host}/server-config=*", "start");
}
if (decision.isGranted()) {
appendHtmlConstant("<div>");
} else {
appendHtmlConstant("<div class='rbac-suppressed'>");
}