Hi Siva,
Can you please correct me that in this line the login is reffering to username right.
org.apache.jackrabbit.api.security.user.User user = userManager.createUser(login, password);
Thanks,
Pavan
Hi All,
Can anyone please help me when I am craeting the user programatically it is giving me the javax.jcr.AccessDeniedException: Access denied.
Thanks,
Pavan
Hi All, Any one could help me in resolving the following issue as I am not able to access the AEM repository using the following code :Repository repository = JcrUtils.getRepository("http://localhost:4502/crx/server");//Create a Session- put a valid creds who has the access of the repositoryjavax...
YEs it worked and here is the code for that:package aeminnovations.core.servlets;
import java.io.IOException;
import java.util.Iterator;
import javax.jcr.Node;
import javax.jcr.NodeIterator;
import javax.jcr.Session;
import javax.servlet.Servlet;
import javax.servlet.ServletException;
import org....
Hi Team, Can anyone let me know whether we can create page using editable template through programmatically. Usually we will create the page programmatically by passing the static template which is under our project but it will not serve purpose right. But if we want to create the page then obv...