Highlighted

AEM 6.4 UserManager userManager = userManagerFactory.createUserManager(session);

abhisheks144250

16-11-2018

Getting exception in AEM 6.4,
with code as:
UserManager userManager = userManagerFactory.createUserManager(session);
resourceResolver = FFF.getResourceResolver(resourceResolverFactory, session);
PayloadLookup payloadLookup = new PayloadLookup(item, session, userManager);

Exception:

com.adobe.granite.workflow.WorkflowException: java.lang.UnsupportedOperationException: No longer supported (UserManagerFactory#createUserManager(Session)).

Replies