QuestionQ58

VerifiedIntegrating AEM into application servers and web servers

An implementation must carry out user-specific JCR read and write operations securely.

Which JCR session should be used?

Explanation

A Resource Resolver carries the authenticated user context, so the JCR session obtained from it performs reads and writes subject to that user’s ACLs. Administrative sessions are deprecated and violate least-privilege guidance; a Sling Request and a Workspace Manager are not the appropriate user-scoped JCR session mechanism.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!