return ctx.lookup(preProcessSecurityDomain(securityDomain));
Ensure that the security domain is of the proper formatparamdomainValuereturn if(domainValue.startsWith("java:/jaas")) return domainValue; else return "java:/jaas/" + domainValue;
if(domainValue.startsWith("java:/jaas")) return domainValue; else return "java:/jaas/" + domainValue;