CertGear Systems - Certification Practice Tests /Exams For PHR, SPHR, GPHR, SCWCD, SCBCD, SCDJWS, SCJP, PMP Test Prep Products Built To Satisfy The Most Demanding Professional.
Certification Practice Tests For PHR, SPHR, GPHR, SCWCD, SCBCD, SCDJWS, SCJP, PMP
CertGear Products - Certification Practice Tests For PHR, SPHR, GPHR, SCWCD, SCBCD, SCDJWS, SCJP, PMPCertGear Products - Certification Practice Tests For PHR, SPHR, GPHR, SCWCD, SCBCD, SCDJWS, SCJP, PMPAbout CertGearCertGear Affiliates ProgramCertGear Technical SupportCertGear Product Downloads - Certification Practice Tests For PHR, SPHR, GPHR, SCWCD, SCBCD, SCDJWS, SCJP, PMP
Practice Tests Exams
PHR Certification
PHR / SPHR Certification
SCJP Practice Tests
SCWCD Practice Tests
SCBCD Practice Tests
SCDJWS Practice Tests
PMP Practice Test
GPHR Certification

SCWCD Certification Practice Tests SCWCD Study Guide (CX-310-081)

 
 Java Security Quiz  

Java Security Quiz:

Please select which of the following statements are NOT true regarding the AccessController class?

A) Can be used to mark code as being "privileged", thus affecting subsequent access determinations
B) Can be to decide whether an access to a critical system resource is to be allowed or denied, based on the security policy currently in effect
C) Can be used to obtain a "snapshot" of the current calling context
D) Can be used to compute a cryptographically secure hash

  • [Ans: D]

  • The AccessController class is used for access control operations and decisions. More specifically, the AccessController class is used for three purposes:

    • to decide whether an access to a critical system resource is to be allowed or denied, based on the security policy currently in effect,


    • to mark code as being "privileged", thus affecting subsequent access determinations, and


    • to obtain a "snapshot" of the current calling context so access-control decisions from a different context can be made with respect to the saved context


    However, the AccessController class CANNOT be used to compute a cryptographically secure hash. Instead, a MessageDigest must be used.

    References: http://java.sun.com/j2se/1.4.2/docs/api/java/security/AccessController.html
    References: http://java.sun.com/j2se/1.4.2/docs/api/java/security/MessageDigest.html



BACK    |    NEXT

 


 

  HRCI Certifications :  PHR, SPHR, GPHR   |    PMI Certifications: PMP
Java Certifications :  SCWCD, SCBCD, SCJDWS, SCJP  | Security Certifications: CISSP, CISA