GithubHelp home page GithubHelp logo

flian / han-cas-server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from apereo/cas-overlay-template

0.0 2.0 0.0 210 KB

Base Apereo CAS Maven WAR Overlay template

Home Page: https://www.apereo.org/cas

License: Apache License 2.0

Shell 54.87% Batchfile 45.13%

han-cas-server's Introduction

HAN SSO startup: mvn package

modify local tomcat: 1.copy /etc/keystore to you ${tomcat_home}/confg 2. modify ${tomcat_home}/confg/server.xml add following: 3. use https://localhost:8443/ as login point. 4. you can use casuser/Mellon login, or add some use in src/main/resources/cas.properties line 290,accept.authn.users property

next: read cas.properties for db user support..

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.

Versions

<cas.version>4.2.x</cas.version>

Requirements

  • JDK 1.7+

Configuration

The etc directory contains the configuration files that need to be copied to /etc/cas.

Current files are:

  • cas.properties
  • log4j2.xml

Build

mvnw clean package

or

mvnw.bat 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.
mvnw jetty:run-forked

CAS will be available at:

  • http://cas.server.name:8080/cas
  • https://cas.server.name:8443/cas

External

Deploy resultant target/cas.war to a Servlet container of choice.

Authentication: JDBC: https://apereo.github.io/cas/4.2.x/installation/Database-Authentication.html

shiro: https://apereo.github.io/cas/4.2.x/installation/Shiro-Authentication.html

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.