Briefly describe the ProtectionDomain class.

What will be an ideal response?


This ProtectionDomain class encapsulates the characteristics of a domain. It encloses a set of classes whose instances are granted a set of permissions when being executed on behalf of a given set of principals. The principals represent the user on whose behalf the Java code is running in the JVM. There are two different ways to link a set of permissions with a ProtectionDomain. A static set of permissions can be bound to a ProtectionDomain during construction. Alternately, a ProtectionDomain can be constructed such that it is dynamically mapped to a set of permissions by the current policy when permission is checked.

Computer Science & Information Technology

You might also like to view...

Which computer has a monitor which can fold or swivel to function as a tablet?

A) 2-in-1 PC B) Chromebook C) Notebook D) Ultrabook

Computer Science & Information Technology

The _____ Field Size property stores positive and negative numbers to precisely 15 decimal places and uses eight bytes.?

A. ?Integer B. ?Double C. ?Single D. ?Decimal

Computer Science & Information Technology

The resolution of a photo is determined by the number of pixels

Indicate whether the statement is true or false

Computer Science & Information Technology

Security testing requires a great deal of knowledge about the infrastructure of the system.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology