public void setResourceRef(boolean resourceRef) {
        this.resourceRef = resourceRef;
    }
Set whether the lookup occurs in a Jakarta EE container, i.e. if the prefix
"java:comp/env/" needs to be added if the JNDI name doesn't already
contain it. Default is "false".
<p>Note: Will only get applied if no other scheme (e.g. "java:") is given.
core/src/main/java/org/apache/shiro/jndi/JndiLocator.java