10 - Access Control - Security Realms

Information

Security realms allow you to secure your web applications against unauthorized access. Protection is based on authentication that identifies who is requesting access to the webapp and access control that restricts what can be accessed and how it is accessed within the webapp.

Avoid Unauthorizd user access to the server

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

A webapp statically declares its security requirements in its web.xml file. Authentication is controlled by the <login-config> element. Access controls are specified by <security-constraint> and <security-role-ref> elements.