Multiple choice

Which of the following is true about 'Metadata annotations' in securing the web applications?

  1. These annotations are used to specify information about security within a class file.

  2. These expresses an application’s security structure, including security roles, access control, and authentication requirements in a deployment descriptor.

  3. These security are embedded in an application.

  4. These annotations are used to specify the various threats in an application.

  5. Both (2) and (3)

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Metadata annotations are used for class file security in Java EE applications.