Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

AEM Login

Mariusz Kubiś edited this page Jul 14, 2016 · 2 revisions

AEM Login

The AemLogin class enables automatic authorization into AEM, without the need to actually input user login and password. AemLogin authorizes user in the domain specified by author.url property. It's API provides methods for: logging in as the default user specified in the instances.properties file (author.login and author.password) logging in as a custom user by providing login and password in method parameters logging out To use the feature, simply inject the AemLogin into your test class and call authorLogin() method in an initialization method before your test. Example usage

@Inject
private AemLogin aemLogin;
 
@Before
public void setup() {
    aemLogin.authorLogin();
}
 
@Test
public void authorTest() {
    // test authorized within the AEM author instance
}

Getting started with Bobcat

  1. Getting started

AEM Related Features

  1. Authoring tutorial - Classic
  1. AEM Classic Authoring Advanced usage
  1. Authoring tutorial - Touch UI
Clone this wiki locally