Apache OpenOffice (AOO) Bugzilla – Issue 11877
checkPermission not throwing a Security Exception
Last modified: 2004-11-26 09:36:27 UTC
Security: checkPermission should be changed to throw a SecurityException if it fails to obtain requested permission. It is up to the caller to handle the exception and determine what action should be taken. Will effect resolveURIFromStorageID( ), getStorageInstance( ) and resolve( ) in ScriptNameResolverImpl
Reset target. Assign to Noel - should form part of actions from security code review.
Started, will be folded in with refactor work.
Change state, incorrectly set to fixed
Correct state
Should be fixed as part of security mods
Fixed. checkPermissions throws AccessControlException if permission refused. throws IllegalArgumentException if URL is not known to ScriptSecurityManager, or if incorrect/unknown permission type is requested.
changing state to verified
closed