Hi,I have written a filter to check whether user is login, if not, redirect it to the login page. I am referring to this filter code mentioned in this article http://aemfaq.blogspot.sg/2013/05/blocking-anonymous-access-to-crx-in-non.htmlBut when I tested it, the filter seems not work for the URL: ht...
Hi Friends, I have one situation to clear the varnish pages at the time of CQ5 page activation. I am using the httpclient to purge the page in varnish . I am getting correct repsonse 200 Purged but that page is not getting cleared from the varnish. Here is the code I am using, Please suggest the cha...
Hi All,I am trying to use the HBS comments component present in communities component group on a page to check the comments functionality and getting below exception. I have tested that reverse replication agent is working fine and configured properly. Can anyone help if they have faced this issue b...
Hi All,We are creating Query object using below code.javax.jcr.query.Query query = queryManager.createQuery(queryString, javax.jcr.query.Query.XPATH);As javax.jcr.query.Query.XPATH constant has been deprecated in AEM 6.2,what will be the alternative approach to create query object of type XPATH,I ...
In order to do offloading, I copied my author instance of AEM6.1 to a new location to be the work instance. The author instance is set up to be a cluster, though it's a one-server cluster, so it's the cluster leader.I changed the sling.id of the work instance so I could connect them up via the topo...
I have a container component in container.jsp I want to include another component (Tile component) .Tile component has got 2 jsps,In container.jsp when condition A matches I want to include Tile component only tile.jsp executed.When condition B matches I want to include tile component only tile.sele...
Good day all. Some help understanding the above will be really appreciated.I have a class that extends HttpServlet instead of SlingSafeMethodsServlet. I use @SlingServlet to expose a URL endpoint.@SlingServlet(paths = "/apps/myapp") MyServlet extends HttpServlet { ... }Everything works as expected o...
Hi All,In prod replication agents, which user we should user, I tried using Replication user, with replication permissions, but i was facing some issues, and we started using admin user.Please suggest me which is the better approach.Thanks,viki
I am working on configuring AEM Author Standby instance using AEM 6.2. The OS is RHEL 7.1I am using Tark MK as storage and i plan to set up two Authors, one active and the other as a cold standby.I am following instructions from the Adobe's documentation on this url.My first question here is : Do th...