Quizzes Index
This quiz is based on the book, Inside Java 2 Platform Security, Second Edition: Architecture, API Design and Implementation published by Addison-Wesley. The quiz is based on material throughout the book. Test your knowledge of the Java 2 platform security features. If you do not know an answer, take your best guess.
Choose the best answer(s) for each question, then click Submit to see how you scored.
1. A security model which enforces a dominate relationship of read-down and write-up is known as:
2. Type safety in the Java language prevents the following attack vectors:
3. The type of a class is specified by:
4. Calling AccessController.doPrivileged will:
AccessController.doPrivileged
5. In J2SE, all signed classes are implicitly trusted and granted full access:
6. Security policy enforcement may be performed by:
java.security.Policy
java.lang.SecurityManager
java.security.AccessController
7. The method Subject.doAs associates a Subject with the thread of execution by:
Subject.doAs
ProtectionDomains
DomainCombiner
AccessControlContext
ThreadLocal
8. The principal role of a TrustManager is to:
TrustManager
9. Effectively, permissions are accorded to a class:
10. A class is allowed access to package private (a.k.a. default access) members of another class:
11. In J2SE, security policy is expressed
12. The MessageDigest class provides
MessageDigest