We're updating the issue view to help you get more done. 

Add Convenience method for admin login

Description

As a test developer I want to have a convenient way of getting a JCR session with admin permissions so that I don't have to hard-code the admin credentials.

For a content repository to login with admin privileges, you have to call

1 2 ContentRepository repository ... Session session = repository.login("admin","admin");

a more convenient way would be to

1 Session session = repository.loginAsAdmin();

Status

Assignee

GeraldM

Reporter

GeraldM

Labels

None

Epic Link

Fix versions

Priority

Medium