pydio/pydio-core — pull request #721 by chusopr (2014-11-24 12:23:01+00:00)
Title: authfront.cas: Import Pydio user attributes (quota, name, e-mail) from CAS

We have a Pydio installation where every user can have a different quota and this value is stored in CAS, so we need Pydio to get the quota value from CAS.
I found that AFAIK Pydio was not able to do that so I modified authfront.cas plugin to allow to configure it to map CAS attributes to Pydio attributes.
Currently I only added support to the ones we need: name, e-mail and quota. Also, since our CAS provides quota value in MB, I also found neccesary to provide the multiplier to be applied to the value provided by CAS to get the actual quota.
I think that this feature can be extended to include some other attributes like country and language or even custom user attributes.
Also, it currently only allows to set global quota, it may be interesting to allow to choose between global quota, repository quota, etc.