Hosts any web server behind CAS Authentication with NodeJS.
# git clone https://github.com/fakechris/cas-proxy
# cd cas-proxy/
# npm -g install
// Then edit config.js, make sure you have everything checked in the config file
// and run!
# node app.js
All settings are placed in /config.js, hack it as you go.
listen_port: The listen port of kibana3brower_cache_maxage: The browser cache max-Age controll, for a better loading speedenable_ssl_port: Enable SSL or not?listen_port_ssl: If enable_ssl_port set to true, this is the port of SSLssl_key_file: Point to the ssl key filessl_cert_file: Point to the ssl certification filecookie_secret: The secret token for cookies. replace it with a random string for security
1. Basic Authentication
enable_basic_auth: Enable or not?basic_auth_users: A list of user/passwd, see the comments in config.js for help. leave empty if you won't use it
2. CAS Auth
enable_cas_auth: Enable or not?cas_server_url: Point to the CAS server URL
CAS Proxy is freely distributable under the terms of the MIT license.
Copyright (c) 2013 Chris Song
See LICENCE for details.