Searched defs:permissions (Results 26 - 33 of 33) sorted by relevance

12

/dalvik/libcore/security/src/test/java/tests/security/permissions/
H A DJavaLangReflectAccessibleObjectTest.java1 package tests.security.permissions;
16 * This class tests the security permissions which are documented in
17 * http://java.sun.com/j2se/1.5.0/docs/guide/security/permissions.html#PermsAndMethods
69 "must call checkPermission on security permissions",
99 + "must call checkPermission on security permissions",
H A DJavaLangRuntimeTest.java13 * See the License for the specific language governing permissions and
17 package tests.security.permissions;
29 * This class tests the security permissions which are documented in
30 * http://java.sun.com/j2se/1.5.0/docs/guide/security/permissions.html#PermsAndMethods
H A DJavaLangSystemTest.java13 * See the License for the specific language governing permissions and
17 package tests.security.permissions;
33 * This class tests the security permissions which are documented in
34 * http://java.sun.com/j2se/1.5.0/docs/guide/security/permissions.html#PermsAndMethods
184 notes = "Verifies that System.setSecurityManager method checks security permissions.",
203 assertTrue("System.setSecurityManager must check security permissions", s.called);
H A DJavaxSecurityAuthSubject.java13 * See the License for the specific language governing permissions and
17 package tests.security.permissions;
47 * This class tests the security permissions which are documented in
48 * http://java.sun.com/j2se/1.5.0/docs/guide/security/permissions.html#PermsAndMethods
80 notes = "Verifies that getSubject() method calls checkPermission method of security permissions.",
/dalvik/libcore/security/src/main/java/java/security/
H A DProtectionDomain.java14 * See the License for the specific language governing permissions and
21 * {@code ProtectionDomain} represents all permissions that are granted to a
34 // Static permissions for this ProtectionDomain
35 private PermissionCollection permissions; field in class:ProtectionDomain
44 // permissions, true otherwise.
49 * code source and the specified static permissions.
51 * If {@code permissions} is not {@code null}, the {@code permissions}
59 * If {@code permissions} is {@code null}, the method {@link
65 * @param permissions
70 ProtectionDomain(CodeSource cs, PermissionCollection permissions) argument
108 ProtectionDomain(CodeSource cs, PermissionCollection permissions, ClassLoader cl, Principal[] principals) argument
[all...]
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
H A DMutableSecurityManager.java13 * See the License for the specific language governing permissions and
41 public MutableSecurityManager(Permission... permissions) { argument
43 for (int i = 0; i < permissions.length; i++) {
44 this.enabled.add(permissions[i]);
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/acl/
H A DAclEntryImpl.java14 * See the License for the specific language governing permissions and
81 public Enumeration permissions() { method in class:AclEntryImpl
96 Enumeration enumeration = permissions();
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/
H A DDefaultPolicyScanner.java14 * See the License for the specific language governing permissions and
185 * readPermissionEntries() method to read the permissions of this clause.
234 ge.permissions = readPermissionEntries(st);
306 Collection<PermissionEntry> permissions = new HashSet<PermissionEntry>();
338 permissions.add(pe);
357 return permissions;
446 public Collection<PermissionEntry> permissions; field in class:DefaultPolicyScanner.GrantEntry

Completed in 227 milliseconds

12