Registering a custom SecurityMetadataSource