Posts in 2019
Last Update: in Git
Git quick reference for daily work
Why Git Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. help git help outline the most common use git commands. $ git help usage: …
Tips on contributing packages to npm registry by npm publish, how to reduce package size, how to use scoped package, how to debug package locally etc.
Reduce package size Use files field in package.json to specific installed files The optional files field is an array of file patterns that describes the entries to be included when your package is installed as a dependency. File patterns follow a …
Configure debian start up services with
I used to use chkconfig to configure which service to run at system start up. With my Raspberry Pi running based on Debian distribution, there is no chkconfig 😔. The replacement for Debian is sysv-rc-conf: Run-level configuration for SysV like init …
Posts in 2018
Integrate django-cas-ng with Django admin site authentication
Problem I’m using django-cas-ng framework to authenticate users. The main problem is that the admin page still uses the default login view. Methods used this far: 1.- Using env var From docs: CAS_ADMIN_PREFIX: The URL prefix of the Django …
Last Update: in CAS
How CAS single logout (SLO) works?
SLO Overview NOTE: Single Logout (SLO) need CAS Server support. With Single Logout (SLO), user gets logged out not only from the CAS Server, but also from all visited CAS client applications. django-cas-ng proudly support SLO since release 3.5.0. The …
CAS (Central Authentication Server) Protocol History
CAS is a simple central authentication server protocol. It was initially conceived and developed by Shawn Bayern of Yale University Technology and Planning. It was later maintained by Drew Mazurek at Yale. CAS 1.0 implemented single-sign-on. CAS 2.0 …
Last Update: in CAS
A brief introduction to CAS (Central Authentication Service) key conceptions and flows to newbie. login flow, logout flow, ticket validation etc.
CAS Introduction The Central Authentication Service (CAS) is a single-sign-on / single-sign-off protocol for the web. It permits a user to access multiple applications while providing their credentials (such as userid and password) only once to a …