/** * Diagnostic method. Read roles and ACLs from the given Application * and dump a somewhat organized summary of what has been set. * This can be used to diagnose deployment or runtime deployment errors * as well as to help in configuring application descriptors. * * <P>Implementation is not particularly efficient but this is only * called for debugging purposes at startup. All errors are ignored. * * @param app Application object to analyze. * */ public static void showACL(Application app) { if (!isActive() || !logger.isLoggable(Level.FINEST)) { return; } try { dumpDiagnostics(app); } catch (Throwable e) { logger.fine("Error while showing ACL diagnostics: " + e.toString()); } }