Affects Version/s: 1.1.0
Fix Version/s: None
Component/s: Authorization (access control)
Environment:All operating systems
WildcardPermission currently allows "" part in a permission.
This has no real use and can lead to user /programmer errors.
If instead of File:*:myfile, I accidently create File::myfile
all permission checks will fail as
File::myfile does not imply say File:read:myfile.
Since File::myfile has no meaning, this permission is not securing anything.
File::myfile is broken into the parts "File","","myfile".
Since "" part is unlikely to have any useful meaning, it might be better to throw an IllegalArugmentException if a
permission has a "" part and prevent user/programmer errors.