}
/** {@inheritDoc} */
public void renderContext(Object... requestItems) {
TilesRequestContext request = getRequestContext(requestItems);
AttributeContext attributeContext = getAttributeContext(request);
if (!isPermitted(request, attributeContext.getRoles())) {
if (LOG.isDebugEnabled()) {
LOG.debug("Access to current attribute context denied. "
+ "User not in role '" + attributeContext.getRoles());
}
return;
}
render(request, attributeContext);