Name: ngref-cas
Owner: Unicon, Inc.
Description: null
Created: 2018-02-24 00:11:54.0
Updated: 2018-04-05 15:56:47.0
Pushed: 2018-04-25 19:08:07.0
Homepage: null
Size: 125
Language: CSS
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
The reference implementaton demonstrates the use of CAS to fulfil the following requirements:
(The following instructions will create a c:\etc\cas directory on your workstation)
To build and run this on a local workstation, perform the following steps:
build.cmd package
installCert.cmd
build.cmd run
A very basic custom authentication handler has been created to demostrate a custom authentication handler that could be created to to call the NG User API for actual authentication
The authentication handler was built using the instructions here: https://apereo.github.io/cas/5.2.x/installation/Configuring-Custom-Authentication.html
The custom authentication handler class created is com.wileyng.cas.auth.NgAuthenticationHandler The registration configuation class is com.wileyng.cas.auth.NgAuthenticationEventExecutionPlanConfiguration The configuration for the handler is in src/main/resources/META-INF/spring.factories
openssl s_client -connect localhost:8443 2>&1 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > certfile.txt sudo $JAVA_HOME/bin/keytool -import -alias “selfcert” -file certfile.txt -keystore $JAVA_HOME/jre/lib/security/cacerts
https://apereo.github.io/2018/01/05/cas-deployment-with-proxy/
curl -k --user casuser:test https://localhost:8443/cas/status/health
docker run -it --link some-redis:redis --rm redis redis-cli -h locahost -p 6379