doctor [R.862.2].
Use a vetted library or framework that does not allow this weakness to occur or provides
constructs that make this weakness easier to avoid.
For example, consider using authorization frameworks such as the JAAS Authorization