/libcore/ojluni/src/main/java/java/util/logging/ |
D | Handler.java | 114 checkPermission(); in setFormatter() 143 checkPermission(); in setEncoding() 178 checkPermission(); in setFilter() 202 checkPermission(); in setErrorManager() 216 checkPermission(); in getErrorManager() 256 checkPermission(); in setLevel() 299 void checkPermission() throws SecurityException { in checkPermission() method in Handler 301 manager.checkPermission(); in checkPermission()
|
D | FileHandler.java | 224 checkPermission(); in FileHandler() 250 checkPermission(); in FileHandler() 282 checkPermission(); in FileHandler() 319 checkPermission(); in FileHandler() 358 checkPermission(); in FileHandler() 371 manager.checkPermission(); in openFiles()
|
D | Logger.java | 301 private void checkPermission() throws SecurityException { in checkPermission() method in Logger 307 manager.checkPermission(); in checkPermission() 578 checkPermission(); in setFilter() 1263 checkPermission(); in setLevel() 1318 checkPermission(); in addHandler() 1332 checkPermission(); in removeHandler() 1360 checkPermission(); in setUseParentHandlers() 1570 manager.checkPermission();
|
D | LogManager.java | 319 checkPermission(); in addPropertyChangeListener() 338 checkPermission(); in removePropertyChangeListener() 1040 checkPermission(); in readConfiguration() 1103 checkPermission(); in reset() 1189 checkPermission(); in readConfiguration() 1346 void checkPermission() { in checkPermission() method in LogManager 1349 sm.checkPermission(controlPermission); in checkPermission() 1363 checkPermission(); in checkAccess()
|
/libcore/ojluni/src/main/java/javax/security/auth/ |
D | Subject.java | 241 sm.checkPermission(AuthPermissionHolder.SET_READ_ONLY_PERMISSION); in setReadOnly() 287 sm.checkPermission(AuthPermissionHolder.GET_SUBJECT_PERMISSION); in getSubject() 345 sm.checkPermission(AuthPermissionHolder.DO_AS_PERMISSION); 404 sm.checkPermission(AuthPermissionHolder.DO_AS_PERMISSION); 458 sm.checkPermission(AuthPermissionHolder.DO_AS_PRIVILEGED_PERMISSION); 522 sm.checkPermission(AuthPermissionHolder.DO_AS_PRIVILEGED_PERMISSION); 1024 sm.checkPermission(new PrivateCredentialPermission 1046 sm.checkPermission(AuthPermissionHolder.MODIFY_PRINCIPALS_PERMISSION); 1049 … sm.checkPermission(AuthPermissionHolder.MODIFY_PUBLIC_CREDENTIALS_PERMISSION); 1052 … sm.checkPermission(AuthPermissionHolder.MODIFY_PRIVATE_CREDENTIALS_PERMISSION); [all …]
|
/libcore/ojluni/src/main/java/java/net/ |
D | ResponseCache.java | 86 sm.checkPermission(SecurityConstants.GET_RESPONSECACHE_PERMISSION); in getDefault() 109 sm.checkPermission(SecurityConstants.SET_RESPONSECACHE_PERMISSION); in setDefault()
|
D | CookieHandler.java | 75 sm.checkPermission(SecurityConstants.GET_COOKIEHANDLER_PERMISSION); in getDefault() 95 sm.checkPermission(SecurityConstants.SET_COOKIEHANDLER_PERMISSION); in setDefault()
|
D | Authenticator.java | 127 sm.checkPermission(setDefaultPermission); in setDefault() 171 sm.checkPermission(requestPermission); in requestPasswordAuthentication() 233 sm.checkPermission(requestPermission); in requestPasswordAuthentication() 300 sm.checkPermission(requestPermission); in requestPasswordAuthentication()
|
D | ProxySelector.java | 94 sm.checkPermission(SecurityConstants.GET_PROXYSELECTOR_PERMISSION); in getDefault() 117 sm.checkPermission(SecurityConstants.SET_PROXYSELECTOR_PERMISSION); in setDefault()
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | AccessControllerTest.java | 53 AccessController.getContext().checkPermission(permission); in testDoPrivilegedWithCombiner() 60 AccessController.getContext().checkPermission(permission); in testDoPrivilegedWithCombiner()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | SecurityManager.java | 115 public void checkPermission(Permission perm) { in checkPermission() method in SecurityManager 119 public void checkPermission(Permission perm, Object context) { in checkPermission() method in SecurityManager
|
/libcore/ojluni/src/main/java/java/security/ |
D | AccessControlContext.java | 49 public void checkPermission(Permission perm) in checkPermission() method in AccessControlContext
|
D | AccessController.java | 99 public static void checkPermission(Permission perm) in checkPermission() method in AccessController
|
/libcore/ojluni/src/main/java/java/nio/charset/spi/ |
D | CharsetProvider.java | 84 sm.checkPermission(new RuntimePermission("charsetProvider")); in CharsetProvider()
|
/libcore/ojluni/src/main/java/java/security/acl/ |
D | AclEntry.java | 132 public boolean checkPermission(Permission permission); in checkPermission() method
|
D | Acl.java | 232 public boolean checkPermission(Principal principal, Permission permission); in checkPermission() method
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | SecurityChecker.java | 45 public void checkPermission(Permission p) { in checkPermission() method in SecurityChecker
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldRuntimeTest.java | 69 public void checkPermission(Permission perm) { in test_addShutdownHook() 108 public void checkPermission(Permission perm) { in test_execLjava_lang_StringLjava_lang_StringArray() 155 public void checkPermission(Permission perm) { in test_execLjava_lang_StringArrayLjava_lang_StringArray() 201 public void checkPermission(Permission perm) { in test_execLjava_lang_StringLjava_lang_StringArrayLjava_io_File() 250 public void checkPermission(Permission perm) { in test_execLjava_lang_StringArrayLjava_lang_StringArrayLjava_io_File()
|
/libcore/ojluni/src/main/java/java/util/prefs/ |
D | Preferences.java | 410 security.checkPermission(prefsPerm); in userRoot() 431 security.checkPermission(prefsPerm); in systemRoot()
|
/libcore/ojluni/src/main/java/sun/net/ftp/ |
D | FtpClientProvider.java | 60 sm.checkPermission(new RuntimePermission("ftpClientProvider")); in FtpClientProvider()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | IdentityScopeTest.java | 44 public void checkPermission(Permission permission){ in checkPermission() method in IdentityScopeTest.MySecurityManager
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ExecutorsTest.java | 383 sm.checkPermission(new RuntimePermission("setContextClassLoader")); in haveCCLPermissions() 384 sm.checkPermission(new RuntimePermission("getClassLoader")); in haveCCLPermissions() 395 sm.checkPermission(new RuntimePermission("setContextClassLoader")); in checkCCL() 396 sm.checkPermission(new RuntimePermission("getClassLoader")); in checkCCL()
|
/libcore/ojluni/src/main/java/java/nio/channels/spi/ |
D | SelectorProvider.java | 84 sm.checkPermission(new RuntimePermission("selectorProvider")); in SelectorProvider()
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
D | HttpsURLConnection.java | 238 sm.checkPermission(new SSLPermission("setHostnameVerifier")); in setDefaultHostnameVerifier()
|
/libcore/ojluni/src/main/java/java/sql/ |
D | DriverManager.java | 166 sec.checkPermission(SET_LOG_PERMISSION); in setLogWriter() 416 sec.checkPermission(SET_LOG_PERMISSION); in setLogStream()
|