add ProtectionDomain/Codesource support