First, if there is a security manager, its checkSecurityAccess
method is called with the string "clearProviderProperties."+name
(where name
is the provider name) to see if it's ok to clear this provider. If the default implementation of checkSecurityAccess
is used (that is, that method is not overriden), then this results in a call to the security manager's checkPermission
method with a SecurityPermission("clearProviderProperties."+name)
permission.
@throws SecurityException if a security manager exists and its {@link java.lang.SecurityManager#checkSecurityAccess}
method denies access to clear this provider
@since 1.2
|
|