leo108 / php_cas_server

PHP CAS Server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for cas-attribute

mghadam opened this issue · comments

I'm using this server with apache mod_auth_cas and it's working great. I wonder if it is possible to add custom CAS attributes to the users fields :

<Location /secured>
	Authtype CAS
	Require cas-attribute edupersonaffiliation:staff
</Location>
<Location /admin>
	Authtype CAS
	Require cas-attribute edupersonaffiliation:admin
</Location>

I would greatly appreciate if you could give a brief instruction on this.