IdP界面模板
IdP所显示的界面均可以自定义内容以及样式,在/opt/shibboleth/views文件夹里面包含了界面的模板文件,主要如下:
...
当用户访问idp.xxx.edu.cn/idp时,默认显示页面是
此页面源码如下
Code Block | ||
---|---|---|
| ||
<%@ page pageEncoding="UTF-8" %> <%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title><spring:message code="root.title" text="Shibboleth IdP" /></title> <link rel="stylesheet" type="text/css" href="<%= request.getContextPath()%>/css/main.css"> </head> <body> <div class="wrapper"> <div class="container"> <header> <img src="<%= request.getContextPath() %><spring:message code="idp.logo" />" alt="<spring:message code="idp.logo.alt-text" text="logo" />"> </header> <div class="content"> <h2><spring:message code="root.message" text="No services are available at this location." /></h2> </div> </div> <footer> <div class="container container-footer"> <p class="footer-text"><spring:message code="root.footer" text="Insert your footer text here." /></p> </div> </footer> </div> </body> </html> |
...
CARSI IdP界面深度定制(完全自己开发页面)
所有界面的模板都在/opt/shibboleth-idp/views路径下,可以根据需要自行深度定制,包括本校用户IdP登陆界面、隐私保护界面、错误提示界面等,可根据本校情况自行修改。
IdP登录界面深度定制
感谢西北工业大学孙露露老师提供!
...