auth-refresh.jsp 741 B

123456789101112131415161718192021222324
  1. <%@page contentType="text/html;charset=UTF-8"%>
  2. <%@page import="org.springframework.context.ApplicationContext"%>
  3. <%@page import="org.springframework.web.context.support.WebApplicationContextUtils"%>
  4. <%@page import="com.mossle.security.client.ResourceDetailsMonitor"%>
  5. <%
  6. ApplicationContext ctx = WebApplicationContextUtils.getWebApplicationContext(application);
  7. ResourceDetailsMonitor resourceDetailsMonitor = (ResourceDetailsMonitor) ctx.getBean("resourceDetailsMonitor");
  8. resourceDetailsMonitor.refresh();
  9. %>
  10. <html>
  11. <head>
  12. <meta charset="utf-8">
  13. <title>auth-refresh</title>
  14. <style>
  15. tbody tr:nth-child(odd) td,
  16. tbody tr:nth-child(odd) th {
  17. background-color: #f9f9f9;
  18. }
  19. </style>
  20. </head>
  21. <body>
  22. </body>
  23. </html>