What is the precise difference between Whitelist and "not Blacklist"? #115
-
Is your feature request related to a problem? Please describe. It seems, if something is not whitelisted and not blacklisted it raises an error. Describe the solution you'd like Describe alternatives you've considered Additional context AJTS-Version you are using |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I know, this got messier over time the more options were needed. It might be necessary to redesign a lot of that, as it is not always logical. I will add more information to the README when I have the time. Usually AJTS will block paths unless they are whitelisted, and blacklist beats whitelist. For packages, it is the other way round, they are whitelisted per default. But this is an experimental feature that does not work properly yet. WhitelistClass makes AJTS trust a class that is otherwise not trusted, an opposite annotation does not exist. AddTrustedPackage is the package equivalent of WhitelistClass. AllowThreads and AllowLocalPort are completely on their own. |
Beta Was this translation helpful? Give feedback.
I know, this got messier over time the more options were needed. It might be necessary to redesign a lot of that, as it is not always logical.
I will add more information to the README when I have the time.
Usually AJTS will block paths unless they are whitelisted, and blacklist beats whitelist.
For packages, it is the other way round, they are whitelisted per default. But this is an experimental feature that does not work properly yet.
WhitelistClass makes AJTS trust a class that is otherwise not trusted, an opposite annotation does not exist.
AddTrustedPackage is the package equivalent of WhitelistClass.
AllowThreads and AllowLocalPort are completely on their own.