I know how to map users to roles via tomcat-users.xml, and also how to deny access to particular servlets in this way. However, what I'd like to do is be able to, programmatically, from within the servlet, perform different actions based on what roles the current user has
I've written an applet which communicates with a MagTek Check Reader. As a standalone applet it works fine. It breaks when I use it as an applet in an html page. Standalone I'm using the same JDK as I am with the plugin. I've signed the Applet.
This is my error: java.lang.ExceptionInInitializerError: java.lang.SecurityException: Cannot set up certs for trusted CAs: java.lang.SecurityException: Cannot locate policy and/or framework files for signer restraint