Having a proxy service as www.acme.com, is possible to redirect the users to another URL depending of a role assignment?

For instance, when I access www.acme.com and authenticated on the IDS, if Im an employee Im redirected to employees.acme.com, if Im a customer, Im redirected to customers.acme.com.

Jos Luis