# adream-cas
**Repository Path**: te-boss/adream-cas
## Basic Information
- **Project Name**: adream-cas
- **Description**: 基于协议 CAS 3.0 用于统一登录的CAS服务,主要使用了org.jasig.cas中的服务。
- **Primary Language**: Java
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 4
- **Created**: 2023-01-12
- **Last Updated**: 2023-01-12
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
#梦想账户系统 (dreamnt)
===========================
本系统基于CAS 4.2.x的最后一个版本。
CAS Overlay Template
============================
Generic CAS maven war overlay to exercise the latest versions of CAS. This overlay could be freely used as a starting template for local CAS maven war overlays. The CAS services management overlay is available [here](https://github.com/Jasig/cas-services-management-overlay).
# Versions
```xml
4.2.x
```
# Requirements
* JDK 1.7+
# Configuration
需要找到propertyFileConfigurer.xml文件,将其中的配置文件修改为配置文件的目录
windows:
linux:
The `etc` directory contains the configuration files that need to be copied to `/etc/cas`.
Current files are:
* `cas.properties`
* `log4j2.xml`
# Build
```bash
mvnw clean package
```
or
```bash
mvnw.bat clean package
```
若mvnw执行失败,请使用如下指令,进行编译:
```bash
mvn clean package
```
# Deployment
## Embedded Jetty
* Create a Java keystore at `/etc/cas/jetty/thekeystore` with the password `changeit`.
* Import your CAS server certificate inside this keystore.
```bash
mvnw jetty:run-forked
```
CAS will be available at:
* `http://account.adream.org/cas`
* `https://account.adream.org/cas`
## External
Deploy resultant `target/cas.war` to a Servlet container of choice.