/**
  * renders <f:then> child if the role could be found in the security context,
  * otherwise renders <f:else> child.
  *
  * @param string $role The role
  * @return string the rendered string
  * @author Andreas Förthner <*****@*****.**>
  * @api
  */
 public function render($role)
 {
     if ($this->securityContext->hasRole($role)) {
         return $this->renderThenChild();
     } else {
         return $this->renderElseChild();
     }
 }