diff --git a/sso-server/pom.xml b/sso-server/pom.xml index 8e58f4d..8e786e6 100644 --- a/sso-server/pom.xml +++ b/sso-server/pom.xml @@ -118,9 +118,7 @@ WEB-INF/classes/services/* WEB-INF/classes/application.* WEB-INF/classes/bootstrap.properties - WEB-INF/classes/apereo.properties **/user-details.properties - **/messages_*.properties **/truststore.jks **/*.md diff --git a/sso-server/src/main/resources/demo.properties b/sso-server/src/main/resources/demo.properties new file mode 100644 index 0000000..70af641 --- /dev/null +++ b/sso-server/src/main/resources/demo.properties @@ -0,0 +1,11 @@ +# +# \u7248\u6743\u6240\u6709.(c)2008-2017.\u5361\u5C14\u79D1\u6280\u5DE5\u4F5C\u5BA4 +# +demo.css.file=/themes/demo/css/demo.css +demo.pageTitle=demo page title + +standard.custom.css.file=/css/cas.css +admin.custom.css.file=/css/admin.css +cas.javascript.file=/js/cas.js + + diff --git a/sso-server/src/main/resources/services/Localhost-10000002.json b/sso-server/src/main/resources/services/Localhost-10000002.json index c13862c..cd2ea69 100644 --- a/sso-server/src/main/resources/services/Localhost-10000002.json +++ b/sso-server/src/main/resources/services/Localhost-10000002.json @@ -1,8 +1,9 @@ { "@class": "org.apereo.cas.services.RegexRegisteredService", - "serviceId": "^(http|https)://(localhost|192.168).*", + "serviceId": "^http://(localhost|192.168).*", "name": "Local Services", "id": 10000002, "description": "this is a localhost service", - "evaluationOrder": 10000000 + "evaluationOrder": 10000000, + "theme":"demo" } diff --git a/sso-server/src/main/resources/static/themes/demo/css/demo.css b/sso-server/src/main/resources/static/themes/demo/css/demo.css new file mode 100644 index 0000000..fc4ba2a --- /dev/null +++ b/sso-server/src/main/resources/static/themes/demo/css/demo.css @@ -0,0 +1,7 @@ +/* + * 版权所有.(c)2008-2017.卡尔科技工作室 + */ + +h1 { + color: blue; +} \ No newline at end of file diff --git a/sso-server/src/main/resources/templates/demo/casLoginView.html b/sso-server/src/main/resources/templates/demo/casLoginView.html new file mode 100644 index 0000000..405a623 --- /dev/null +++ b/sso-server/src/main/resources/templates/demo/casLoginView.html @@ -0,0 +1,66 @@ + + + + + + + + + + + + +

+
+
+
+ +
+

+ +
+
+ +
+
+ +
+ + + + +
+
+
+ +