JV-conseil-Internet-Consulting / python-cas

The Central Authentication Service (CAS) is a single sign-on protocol for the web. This is a Python CAS client library with added support for <norEduPerson> XML tag to allow attributes to be retrieved from <norEduPerson> nested elements when there is no <cas:attributes> available in the XML CAS response file.

Home Page:http://www.jv-conseil.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for norEduPerson tag in XML CAS response

Django Python 3.7.3 Donate with PayPal License BSD 3-Clause Follow JV conseil – Internet Consulting on Twitter

To allow attributes to be retrieved from <norEduPerson> nested elements when there is no <cas:attributes> available in the XML CAS response file:

<cas:serviceResponse xmlns:cas="http://www.yale.edu/tp/cas">
    <cas:authenticationSuccess>
        <cas:user>UserName</cas:user>
        <norEduPerson>
            <mail>UserEmail</mail>
            <sn>UserLastName</sn>
            <gn>UserFirstName</gn>
        </norEduPerson>
    </cas:authenticationSuccess>
</cas:serviceResponse>

What is norEduPerson?

eduPerson is designed to support LDAP (Lightweight Directory Access Protocol) operations for campus directories designed to facilitate communication among higher education institutions. It consists of a set of data elements or attributes about individuals within higher education, along with recommendations on the syntax and semantics of the data that may be assigned to those attributes.

The norEdu classes add further attributes supplementing eduPerson/eduOrg in order to satisfy the requirements of the environment of the Nordic educational community, such as support for National Identity Numbers (norEduPersonNIN) and for the educational numbering and identifier schemes.

Further reading:

What is CAS?

CAS stands for Central Authentication Service. It provides NetID authentication and Single-Sign-On for web-based applications and protects thousands of websites at Yale:

  • When your application has been CASified, your users are presented with a single, consistent login page to enter their NetID and Password.
  • With the Single-Sign-On nature of CAS, individuals need only provide their NetID and Password once per browser session instead of for every site they navigate to.
  • Applications that implement the CAS protocol never see the individual's password, providing a safe and secure means to authenticate.

CAS was developed by Yale University's Technology and Planning Group. As world-wide usage of the protocol expanded, support and maintenance of the system was turned over to JASIG (now Apereo).

Further reading:

Sponsorship

If this project helps you reduce time to develop, you can give me a cup of coffee ☕️ :-)

Donate with PayPal

About

The Central Authentication Service (CAS) is a single sign-on protocol for the web. This is a Python CAS client library with added support for <norEduPerson> XML tag to allow attributes to be retrieved from <norEduPerson> nested elements when there is no <cas:attributes> available in the XML CAS response file.

http://www.jv-conseil.net

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 99.0%Language:Makefile 1.0%