SecurityException renamed to NotAffiliatedException