• This repository has been archived on 08/May/2019
  • Stars
    star
    115
  • Rank 305,916 (Top 7 %)
  • Language
    Shell
  • License
    Apache License 2.0
  • Created about 8 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Apereo CAS Server web application running inside a docker container.

Central Authentication Service (CAS) License

Introduction

This repository hosts the Docker build configuration necessary to build a CAS image. See the Dockerfile for more info.

Versions

A docker image for CAS server. Images are tagged to match CAS server releases.

Requirements

  • Docker version 1.9.x ~ 18.x

Configuration

Image

  • The image will be available on the host via ports 8080 and 8443
  • You must check the Dockerfile to ensure the right branch from the CAS overlay project is pulled/cloned.
  • Check the CAS overlay project itself to figure out the targetted CAS release.

SSL

  • Update the thekeystore file with the server certificate and chain if you need access the CAS server via HTTPS.
  • The password for the keystore is changeit.
  • The build will automatically copy the keystore file to the image. The embedded container packaged in the overlay is pre-configured to use that keystore for HTTPS requests.
keytool -genkeypair -alias cas -keyalg RSA -keypass changeit \
        -storepass changeit -keystore ./thekeystore \
        -dname "CN=cas.example.org,OU=Example,OU=Org,C=AU" \
        -ext SAN="dns:example.org,dns:localhost,ip:127.0.0.1"

...and add cas.example.org to your hosts file:

# echo '127.0.0.1 cas.example.org' >> /etc/hosts

Be sure to adjust the above values to match your CAS domain.

CAS Configuration

The build will also auto-copy configuration files under the etc/cas directory to the corresponding locations inside the image.

Build

NOTE: On windows, you may want to run bash first so you can execute shell scripts.

./build.sh $CasVersion

The image will be built as apereo/cas:v$CasVersion.

Run

./run.sh $CasVersion

Release

  • New images shall be released at the time of a new CAS server release.
  • Image versions are reflected in the build|run.sh files and need to be updated per CAS/Image release.
  • Images are published to https://hub.docker.com/r/apereo/cas/
./push.sh $CasVersion

More Repositories

1

cas

Apereo CAS - Identity & Single Sign On for all earthlings and beyond.
Java
10,317
star
2

java-cas-client

Apereo Java CAS Client
Java
871
star
3

phpCAS

Apereo PHP CAS Client
PHP
791
star
4

dotnet-cas-client

Apereo .NET CAS Client
C#
230
star
5

mod_auth_cas

An Apache httpd module for integrating with Apereo CAS Server project.
Shell
139
star
6

cas-gradle-overlay-template

CAS Gradle Overlay: Generic CAS gradle war overlay to exercise the latest versions of CAS
Shell
71
star
7

cas-management

Apereo CAS Management Web Application
TypeScript
52
star
8

cas-configserver-overlay

Generic CAS Spring Cloud Configuration Server WAR overlay
Dockerfile
28
star
9

person-directory

A framework for resolving persons and attributes from a variety of underlying sources.
Java
26
star
10

cas-initializr

Apereo CAS Initializr generates CAS WAR overlays with just what you need to start quickly!
TypeScript
21
star
11

cas-bootadmin-overlay

CAS Spring Boot Admin Server Overlay Template
Shell
20
star
12

cas-server-security-filter

A security filter to protect the CAS server against HTTP attacks
Java
14
star
13

cas-sample-python-webapp

Sample CASified Python Web Application based on Flask
Python
13
star
14

oauth2-sample-java-webapp

OAuth2 client java web application based on Spring Boot
Java
11
star
15

apereo.github.io

Apereo Community Blog
SCSS
10
star
16

saml2-sample-java-webapp

SAML2 client java web application based on Spring Security
Java
9
star
17

springsecurity-bootiful-cas-client

Sample CASified application with Spring Security
Java
7
star
18

cas-management-gradle-overlay

Generic CAS gradle war overlay to exercise the latest versions of CAS Management web application.
Shell
5
star
19

cas-discoveryserver-overlay

Generic CAS Spring Cloud Discovery Server WAR overlay.
Batchfile
3
star
20

dotnet-cas-client-redis

C#
2
star
21

oidc-sample-java-webapp

OpenID Connect client java web application based on MITREid Connect
JavaScript
2
star
22

wsfed-sample-java-webapp

This is a sample application that acts as a WS Federation client using Apache Fediz.
Java
2
star
23

cas-sample-java-webapp

Sample Java web app protected by Java CAS client
Java
2
star
24

dotnet-cas-client-mssql

1
star