Glassfish v21 - 有没有办法自定义每个域的管理控制台登录页面?

发布于 2024-08-29 17:55:44 字数 75 浏览 1 评论 0原文

我在单个 glassfish 安装下有两到三个域。 是否有一种已知的方法可以根据我尝试管理的域自定义管理控制台登录页面? (主机/端口)

I have two to three domains under a single glassfish installation.
Is there a known way to customize admin console login page based on the domain I am trying to administrator? (host/port)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

又爬满兰若 2024-09-05 17:55:44

如果您使用 Firefox 或 Chrome 作为浏览器,那么您可以编写一个 Greasemonkey 脚本来更改每个管理控制台的页面外观。它应该相当简单,并且有很多您应该能够复制的示例。

If you use Firefox or Chrome as your browser then you could write a Greasemonkey script that would change the page's appearance for each admin console. It should be fairly trivial and there are lots of examples out there that you should be able to copy.

烟沫凡尘 2024-09-05 17:55:44

根据您对普雷斯顿的提示,我能够更改顶部的横幅图像。该文件是 lib\install\applications\admingui\adminGUI_war\WEB-INF\lib\webui-jsf-suntheme.jar\com\sun\webui\jsf\suntheme\images\masthead\masthead-background.jpg。

最初该文件是一个 1 像素宽的渐变,但将其更改为具有相同高度的 200 像素宽图像,效果很好。

Based on your hint to Preston, I was able to change the banner image across the top. That file is lib\install\applications\admingui\adminGUI_war\WEB-INF\lib\webui-jsf-suntheme.jar\com\sun\webui\jsf\suntheme\images\masthead\masthead-background.jpg.

Originally that file was a one-pixel wide gradient, but changed it to a 200 pixel wide image with the same height and it worked fine.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文