code: public void setSecurityHandler(SecurityHandler securityHandler) {
          handler.setSecurityEnabled(securityHandler != null);
          handler.setSecurityHandler(securityHandler);
      }
docs: Set the security handler.
  
  @param securityHandler The securityHandler to set.