This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I'd like to access the classes implementing Tomcat in my web app (to get the current Realm, as described here). The Tomcat docs mention that those classes are off-limits to web apps, and indeed this doesn't work for me (the class is not found). Since this is apparently possible in general, the question is: How do I need to rearrange the Tomcat jars to make this work, or which setting needs to be tweaked?