cas overlay模板
genericcaswaroverlaytoexercisethelatestversionsofcas.thisoverlaycouldbefreelyusedasastartingtemplateforlocaswaroverlays. exercisethelatestversiongcalcas.local ecasservicesmanagementoverlayisavailablehere。
版本号
5.3.x
请求
JDK 1.8
配置
theetcdirectorycontainstheconfigurationfilesanddirectoriesthatneedtobecopiedto/etc/cas/config。
大楼
toseewhatcommandsareavailabletothebuildscript,run:
./build.sh help
topackagethefinalwebapplication,run:
./build.sh package
oupdatesnapshotversionsrun :
./build.sh包- u
部署
createakeystorefilethekeystoreunder/etc/cas.usethepasswordchangeitforboththekeystoreandthekey/certificate ents。
ensurethekeystoreisloadedupwithkeysandcertificatesoftheserver。
onasuccessfuldeploymentviathefollowingmethods,CAS will be available at:
3358 cas.server.name :8080/cas
3359 cas.server.name :8443/cas
可执行war
runthecaswebapplicationasanexecutablewar。
./build.sh run
runthecaswebapplicationasanexecutablewarviaspringboot.thisismostusefulduringdevelopmentandtesting。
./build.sh bootrun
魔兽世界!
becarefulwiththismethodofdeployment.bootrunisnotdesignedtoworkwithalreadyexecutablewarartifactssuchthatcasserverwebaplicatication usesofthismodeonlyworkwhenthereisnootherdependencyaddedtothebuildscriptandthecas-server-webappistheonlypresesssion
thereisanapp.serverpropertyinthepom.xmlthatcanbeusedtoselectaspringbootapplicationserver。
itdefaultsto-Tomcat but-jetty and-undertowaresupported。
itcanalsobesettoanemptyvalue (nothing ) ifyouwanttodeploycastoanexternalapplicationserverofyourchoice。
-tomcat
If you are building on windows,try build.cmdinsteadofbuild.sh.argumentsaresimilarbutforusage,run:
build.cmd帮助
外部
deployresultanttarget/cas.wartoaservletcontainerofchoice。
命令行外壳程序
invokesthecascommandlineshell.foralistofcommandseitherusenoargumentsoruse-h.toentertheinteractiveshelluse-sh。
./build.sh cli