[JBERET-88] Ensure methods that do security manager checks run are acces...

...sed through privilege blocks when and where required.