mapper.addRule("web-app/login-config",
mapper.objectCreate("org.apache.catalina.deploy.LoginConfig"));
mapper.addRule("web-app/login-config",
mapper.addChild("setLoginConfig",
"org.apache.catalina.deploy.LoginConfig"));
mapper.addRule("web-app/login-config/auth-method",
mapper.methodSetter("setAuthMethod", 0));
mapper.addRule("web-app/login-config/realm-name",
mapper.methodSetter("setRealmName", 0));
mapper.addRule("web-app/login-config/form-login-config/form-login-page",
mapper.methodSetter("setLoginPage", 0));