Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam AD0-E103 topic 1 question 7 discussion

Actual exam question from Adobe's AD0-E103
Question #: 7
Topic #: 1
[All AD0-E103 Questions]

A developer creates a Sling Servlet. The Sling Servlet is bound to a path (/service/sling/sample). Refer to the resulting code below.

What should the developer do to make the servlet access controlled using the default ACLs?

  • A. Use @SlingServletResourceTypes instead of @SlingServletPaths.
  • B. Modify @SlingServletPaths(value = {"/bin/sling/sample" }).
  • C. Add @SlingServletName(servletName = "AccessControlServlet") annotation.
  • D. Add @SlingServletPrefix(value = "/apps") annotation.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
Reference:
https://sling.apache.org/documentation/the-sling-engine/servlets.html#caveats-when-binding-servlets-by-path

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
chunpin
3 years, 2 months ago
Answer: A
upvoted 2 times
...
mat2020
3 years, 7 months ago
Answer: A
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...