PageRenderTime 48ms CodeModel.GetById 22ms RepoModel.GetById 1ms app.codeStats 0ms

/webapp/common/util/auth-refresh.jsp

https://github.com/mingfly/lemon
JavaServer Pages | 24 lines | 23 code | 1 blank | 0 comment | 0 complexity | 7ab57a53d857b095f9fe8a4eeeabe114 MD5 | raw file
Possible License(s): MIT, Apache-2.0
  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>