
EC-CouncilCertified Application Security Engineer (Java)
Domain 4Objective 2
Authentication and Authorization Defensive Techniques in Java CASEJAVA Practice Questions (Page 2)
Part of the Secure Coding: Authentication and Authorization domain, which makes up ~11% of our current practice bank. EC-Council does not publish an official question count, but from its 120-minute exam (~50–80 total, ~6–9 in this domain), expect 3–5 from this objective — we provide 45 practice questions to prepare you well beyond it. (estimate)
45questions here
9free pages
8concepts
Questions 6–10
- 6
A Java application stores user passwords. The team wants to migrate from SHA-256 with a static salt to a more secure scheme. They need to verify existing hashes during login and gradually rehash passwords. Which approach should they implement?
Select an answer first - 7
A Java application needs to support both certificate-based authentication for internal users and form-based authentication for external users. The application is deployed on a Tomcat server. The security team wants to use a single authentication mechanism that can handle both. What is the most appropriate approach?
Select an answer first - 8
A Java web application uses a servlet filter to check authentication. The filter allows requests to /login and /public, but requires a valid session for all other paths. A developer notices that a request to /admin/deleteUser with a valid session but no authorization check succeeds. What is the missing control?
Select an answer first - 9
A Java web application returns a 401 Unauthorized status with a detailed error page that includes the exception stack trace when authentication fails. What is the primary security risk?
Select an answer first - 10
Which Java authentication mechanism relies on the client presenting an X.509 certificate during the TLS handshake to establish identity?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by EC-Council. “CASEJAVA” is a trademark of its owner, used for identification only.