@Throws(PageException::class) fun removeSecurityManager(password: sun.security.util.Password?, id: String) { checkWriteAccess() (ConfigImpl.getConfigServer(config, password) as ConfigServerImpl).removeSecurityManager(id) val security: Element = _getRootElement("security") val children: Array<Element> = XMLConfigWebFactory.getChildren(security, "accessor") for (i in children.indices) { if (id == children[i].getAttribute("id")) { security.removeChild(children[i]) } } }
remove security manager matching given id