RSS

Posts in 2019

  • npm publish

    June 12, 2019 in npm

    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 …

    Read more

  • Configure Debian startup services

    March 02, 2019 in Linux

    Configure debian start up services by sysv-rc-conf.

    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 …

    Read more

Posts in 2018

  • django-cas-ng Release 3.6.0

    November 23, 2018 in CAS Releases

    django-cas-ng 3.6.0 released on 2020-01-16

    django-cas-ng 3.6.0 released on 2018-11-23. This is the last release to support Django 1.x and Python 2.7. 3.5.0 to 3.6.0 There are some break changes between 3.5.0 and 3.6.0. Please refer to https://github.com/django-cas-ng/django-cas-ng/issues/191 …

    Read more

  • Integrate with Django admin site

    August 25, 2018 in CAS

    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 …

    Read more

  • CAS Single Logout (SLO)

    February 23, 2018 in CAS

    How CAS single logout (SLO) works?

    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 3.5.0. The implementation is …

    Read more

  • CAS History

    February 03, 2018 in CAS

    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 …

    Read more

  • CAS 101

    January 02, 2018 in CAS

    A short introduction CAS (Central Authentication Service) key conception and flow to newbie.

    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 …

    Read more

Posts in 2015

  • django-cas-ng Release 3.5.0

    November 08, 2015 in CAS Releases

    django-cas-ng 3.5.0 released on 2015-11-08

    django-cas-ng 3.5.0 released on 2020-01-16. Release Notes Add support for Proxy Granting Ticket. Add Single Logout support. Add Python3 support. Add Django 1.8 support. Add support for custom user model. Add CAS_USERNAME_ATTRIBUTE which allows …

    Read more

Posts in 0001

  • January 01, 0001 in Azure

    az account set -s MUSE1-ND01-DEV-TEST terraform import azurerm_function_app.functionapp1 /subscriptions/891e8750-cfee-4d72-aeb6-125a0a332365/resourceGroups/mep-msc-dev-rg/providers/Microsoft.Web/sites/TransformAppleSoftwareUpdateData az webapp config …

    Read more

  • January 01, 0001 in Azure

    Read more