directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf Hauser (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRSERVER-1160) provide more details when throwing "AccessControlException: access denied"
Date Tue, 08 Apr 2008 09:39:30 GMT
provide more details when throwing "AccessControlException: access denied"
--------------------------------------------------------------------------

                 Key: DIRSERVER-1160
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1160
             Project: Directory ApacheDS
          Issue Type: Improvement
    Affects Versions: 1.0
         Environment: debian etch
            Reporter: Ralf Hauser


DefaultDirectoryService.startup() should catch the AccessControlException and re-throw with
more info:
- which OS uid/gid did access it? What object type was "shutDownHooks"

java.security.AccessControlException: access denied (java.lang.RuntimePermission shutdownHooks)
        at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
        at java.security.AccessController.checkPermission(AccessController.java:427)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
        at java.lang.Runtime.addShutdownHook(Runtime.java:188)
        at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:187)
        at org.apache.directory.server.core.jndi.AbstractContextFactory.getInitialContext(AbstractContextFactory.java:117)
        at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
        at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
        at javax.naming.InitialContext.init(InitialContext.java:223)
        at javax.naming.InitialContext.<init>(InitialContext.java:197)
        at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:82)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message