this.setDocBase("");
this.setParentClassLoader(classLoader);
if (securityRealmName != null) {
TomcatJAASRealm realm = new TomcatJAASRealm();
realm.setAppName(securityRealmName);
realm.setUserClassNames("org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal");
realm.setRoleClassNames("org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal");
setRealm(realm);
this.realm = realm;
if ("NONE".equals(transportGuarantee)) {
isSecureTransportGuarantee = false;