1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to use cas-attributes

Discussion in 'Apache' started by Jerome Gauthier, Apr 17, 2020.

  1. #1
    I have a working mod_auth_cas setup on my server but I would like to use the "require cas-attribute" to validate users with something else than their user name but I don't know how to do it. I tried a couple of things like that:

    <Directory "/some/directory">
    AuthType CAS
    require cas-attribute tamuEduPersonNetID myownnetid
    </Directory>

    But no success. The university provides this technical information:

    Successful validation
    CAS returns an XML document containing: <cas:serviceResponse xmlns:cas='https://www.yale.edu/tp/cas'>
    <cas:authenticationSuccess>
    <cas:user>netid</cas:user>
    <cas:attributes>
    <cas:tamuEduPersonUIN>#########</cas:tamuEduPersonUIN>
    <cas:tamuEduPersonNetID>netid</cas:tamuEduPersonNetID>
    </cas:attributes>
    </cas:authenticationSuccess>
    </cas:serviceResponse>


    I am pretty sure the key to make it work is there but I have no idea how to do it. Any advice?
     
    Jerome Gauthier, Apr 17, 2020 IP