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.
This section is not available anymore. Please use the main Exam Page.AD0-E103 Exam Questions
Log in to ExamTopics
Sign in:
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.
chunpin
4 years, 3 months agomat2020
4 years, 8 months ago