[ 
https://issues.apache.org/jira/browse/DERBY-6239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13886938#comment-13886938
 ] 

Rick Hillegas commented on DERBY-6239:
--------------------------------------

I'm trying to think of why a client application would need the deregisterDriver 
permission. Maybe if they are running under some framework (like OSGi?) which 
manages component lifecycles and which needs to unload an old version of the 
Derby client in order to load a new version?

> Document optional permission SQLPermission("deregisterDriver")
> --------------------------------------------------------------
>
>                 Key: DERBY-6239
>                 URL: https://issues.apache.org/jira/browse/DERBY-6239
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 10.10.1.4, 10.11.0.0
>            Reporter: Knut Anders Hatlen
>            Assignee: Kim Haase
>             Fix For: 10.10.1.4, 10.11.0.0
>
>         Attachments: DERBY-6239-2.diff, DERBY-6239-2.stat, DERBY-6239-2.zip, 
> DERBY-6239-3.diff, DERBY-6239.diff, DERBY-6239.stat, DERBY-6239.zip, 
> tadminnetservbasic.html
>
>
> See DERBY-6224.
> The documentation should mention the need for 
> SQLPermission("deregisterDriver") during system shutdown on Java SE 8 and 
> higher. The permission is only needed by derby.jar. It's an optional 
> permission, only needed if system shutdown is invoked without the 
> deregister=false attribute.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to