Various useful APIs and plug in implementations based on CAS server Principals