CAS Overlay Template
============================
Generic CAS WAR overlay to exercise the latest versions of CAS. This overlay could be freely used as a starting template for local CAS war overlays. The CAS services management overlay is available [here](https://github.com/apereo/cas-services-management-overlay).
# Versions
```xml
<cas.version>5.2.x</cas.version>
```
# Requirements
* JDK 1.8+
# Configuration
The `etc` directory contains the configuration files and directories that need to be copied to `/etc/cas/config`.
# Build
To see what commands are available to the build script, run:
```bash
./build.sh help
```
To package the final web application, run:
```bash
./build.sh package
```
To update `SNAPSHOT` versions run:
```bash
./build.sh package -U
```
# Deployment
- Create a keystore file `thekeystore` under `/etc/cas`. Use the password `changeit` for both the keystore and the key/certificate entries.
- Ensure the keystore is loaded up with keys and certificates of the server.
On a successful deployment via the following methods, CAS will be available at:
* `http://cas.server.name:8080/cas`
* `https://cas.server.name:8443/cas`
## Executable WAR
Run the CAS web application as an executable WAR.
```bash
./build.sh run
```
## Spring Boot
Run the CAS web application as an executable WAR via Spring Boot. This is most useful during development and testing.
```bash
./build.sh bootrun
```
### Warning!
Be careful with this method of deployment. `bootRun` is not designed to work with already executable WAR artifacts such that CAS server web application. YMMV. Today, uses of this mode ONLY work when there is **NO OTHER** dependency added to the build script and the `cas-server-webapp` is the only present module. See [this issue](https://github.com/apereo/cas/issues/2334) and [this issue](https://github.com/spring-projects/spring-boot/issues/8320) for more info.
## Spring Boot App Server Selection
There is an app.server property in the `pom.xml` that can be used to select a spring boot application server.
It defaults to `-tomcat` but `-jetty` and `-undertow` are supported.
It can also be set to an empty value (nothing) if you want to deploy CAS to an external application server of your choice.
```xml
<app.server>-tomcat<app.server>
```
## Windows Build
If you are building on windows, try `build.cmd` instead of `build.sh`. Arguments are similar but for usage, run:
```
build.cmd help
```
## External
Deploy resultant `target/cas.war` to a servlet container of choice.
## Command Line Shell
Invokes the CAS Command Line Shell. For a list of commands either use no arguments or use `-h`. To enter the interactive shell use `-sh`.
```bash
./build.sh cli
```
没有合适的资源?快使用搜索试试~ 我知道了~
单点登录服务端项目cas-server
共566个文件
jar:289个
html:89个
class:55个
0 下载量 58 浏览量
2023-07-05
16:10:33
上传
评论
收藏 91.5MB ZIP 举报
温馨提示
直接可以对cas-server项目进行打不,部署到tomcat,即可使用,记得修改cas-server的数据库连接地址哦 单点登录服务端项目cas-server 单点登录服务端项目cas-server 单点登录服务端项目cas-server 单点登录服务端项目cas-server 单点登录服务端项目cas-server 单点登录服务端项目cas-server 单点登录服务端项目cas-server单点登录服务端项目cas-server 单点登录服务端项目cas-server 单点登录服务端项目cas-server 单点登录服务端项目cas-server 单点登录服务端项目cas-server 单点登录服务端项目cas-server 单点登录服务端项目cas-server单点登录服务端项目cas-server 单点登录服务端项目cas-server 单点登录服务端项目cas-server 单点登录服务端项目cas-server 单点登录服务端项目cas-server 单点登录服务端项目cas-server单点登录服务端项目cas-server 单点登录服务端项目cas-server
资源推荐
资源详情
资源评论
收起资源包目录
单点登录服务端项目cas-server (566个子文件)
mvnw.bat 6KB
PropertiesLauncher.class 18KB
CasEmbeddedContainerTomcatConfiguration.class 12KB
JarFile.class 12KB
Handler.class 11KB
JarFileEntries.class 11KB
JarURLConnection.class 9KB
JarFileArchive.class 7KB
CentralDirectoryFileHeader.class 5KB
SystemPropertyUtils.class 5KB
ExplodedArchive.class 5KB
LaunchedURLClassLoader.class 5KB
CentralDirectoryParser.class 4KB
Launcher.class 4KB
AsciiBytes.class 4KB
ExplodedArchive$FileEntryIterator.class 4KB
JarURLConnection$JarEntryName.class 4KB
RandomAccessDataFile$DataInputStream.class 3KB
RandomAccessDataFile.class 3KB
JarEntry.class 3KB
ExecutableArchiveLauncher.class 3KB
CentralDirectoryEndRecord.class 3KB
CasEmbeddedContainerTomcatConfiguration$1.class 3KB
LaunchedURLClassLoader$1.class 2KB
Bytes.class 2KB
JarFile$1.class 2KB
JarFileEntries$EntryIterator.class 2KB
PropertiesLauncher$PrefixMatchingArchiveFilter.class 2KB
RandomAccessDataFile$FilePool.class 2KB
JarFileArchive$EntryIterator.class 2KB
WarLauncher.class 2KB
ZipInflaterInputStream.class 2KB
JarFileEntries$1.class 2KB
JarLauncher.class 1KB
ByteArrayRandomAccessData.class 1KB
MainMethodRunner.class 1KB
PropertiesLauncher$ArchiveEntryFilter.class 1KB
ExplodedArchive$FileEntryIterator$EntryComparator.class 1KB
JarFile$3.class 1KB
PropertiesLauncher$1.class 1KB
RandomAccessData$ResourceAccess.class 1KB
JarFile$JarFileType.class 1KB
JarFile$2.class 1KB
CasTomcatBanner.class 1KB
ExecutableArchiveLauncher$1.class 1KB
ExplodedArchive$FileEntry.class 1KB
JarFileArchive$JarFileEntry.class 1KB
Archive.class 906B
JarURLConnection$1.class 672B
RandomAccessData.class 551B
CentralDirectoryVisitor.class 430B
Archive$EntryFilter.class 399B
FileHeader.class 306B
Archive$Entry.class 302B
ExplodedArchive$1.class 273B
JarEntryFilter.class 262B
build.cmd 4KB
bootstrap.min.css 158KB
cas.css 55KB
admin.css 53KB
cas.css 47KB
ssosessions.css 7KB
consentReview.css 4KB
index.css 1KB
loggingDashboard.css 1KB
trustedDevices.css 279B
authnEvents.css 274B
spring.factories 130B
error.gif 1KB
info.gif 980B
confirm.gif 958B
green.gif 43B
red.gif 43B
cas.groovy 798B
viewDashboard.html 11KB
viewStatistics.html 9KB
viewSsoSessions.html 8KB
casConsentView.html 8KB
casConsentReviewView.html 7KB
attrresolution.html 7KB
viewLoggingConfig.html 5KB
loginform.html 5KB
viewConfig.html 4KB
casPropagateLogoutView.html 3KB
pwdupdateform.html 2KB
casInterruptView.html 2KB
confirm.html 2KB
layout.html 2KB
loginProviders.html 2KB
viewAuthenticationEvents.html 2KB
serviceui.html 2KB
viewTrustedDevices.html 2KB
layout.html 2KB
casResetPasswordSendInstructionsView.html 2KB
casLoginView.html 2KB
casU2fRegistrationView.html 2KB
casU2fLoginView.html 2KB
casAzureAuthenticatorLoginView.html 2KB
cas-resources-list.html 2KB
casPac4jStopWebflow.html 2KB
共 566 条
- 1
- 2
- 3
- 4
- 5
- 6
资源评论
飞翔的佩奇
- 粉丝: 3556
- 资源: 799
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功