/** * @see------------------------------------------------------------------------------------------------------- -----------------* @see CAS personality login Page * @see 0.cas page Display control is centered on the Cas.viewResolver.basename attribute in \web-inf\cas.properties, Its value defaults to Default_views * @see so CAS will go to classpath to find default_views.properties, specify the login log out page in Default_views.properties, etc. * @see 1. Modify the Cas.properties file, CAS.VIEWRESOLVER.BASENAME=MSXF, and then copy default_views.properties to Msxf.properties * @see 2. Modify the Msxf.properties file,/web-inf/view/jsp/default to/WEB-INF/VIEW/JSP/MSXF * @see where Casloginview.url represents the default login page, Caslogingenericsuccessview.url indicates the default login Success Page * @see 3. Copy/web-inf/view/jsp/default/and its subdirectories all files to/web-inf/view/jsp/msxf/* @ See then you can change the login page as you like. * @see Note Some of the Googleapis's jquery libraries are referenced in the \web-inf\view\jsp\msxf\ui\includes\bottom.jsp page * @see can be replaced by Baidu CD N (http://cdn.code.baidu.com/), such as Http://apps.bdimg.com/libs/jqueryui/1.10.2/jquery-ui.min.js * @see------------- -----------------------------------------------------------------------------------------------------------* @create 2015-7-16 PM 4:56:17 * @author Xuan Yu Here are the casloginview.jsp I modified
<%@ page pageencoding= "UTF-8"%><%@ taglib prefix= "C" uri= "Http://java.sun.com/jsp/jstl/core"%><%@ Taglib prefix= "form" uri= "Http://www.springframework.org/tags/form"%><c:set var= "CTX" value= "${ PageContext.request.contextPath} "scope=" Session "/><! DOCTYPE html>Here are the casgenericsuccess.jsp I modified
<%@ page pageencoding= "UTF-8"%><body style= "Background-color: #CBE0C9;" ><span style= "color:red; font-size:64px; Font-weight:bold; " > Login Success </span></body>
Below is
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
"Test water CAS-4.0.3" No. 02 section _cas Server Login page personalization