Security APIs

If a permission is provided when wrapping the adapter, it will be wrapped in a LocatingAdapterFactory.

If both locate and trusted are False and a non-public permission is provided, then the factory is wrapped into a LocatingUntrustedAdapterFactory:

If a PublicPermission is provided, then the factory is not touched.

Same for CheckerPublic:

If the permission is None, the factory isn’t touched:

If the factory is trusted and a no permission is provided then the adapter is wrapped into a TrustedAdapterFactory:

Same for PublicPermission:

Same for CheckerPublic:

If the factory is trusted and a locate is true, then the adapter is wrapped into a LocatingTrustedAdapterFactory: