XWiki-9282 : Add a way to restrict access to some classes. Remove typo