Hi Team Would like know what is the best way of exposing assets under /content/test to the end user other than assets api. I need to provide link of asset to end user via servlet response and when user clicks on the link asset should get download. Thanks.
Hi @devareddy123466 , Here is the solution, delete all/suspected workflow instances in /var path. Then refresh your pages then it will work. I had same issue and after deleting workflow instances pages were loading properly. Thanks,Ramesh.
Hi Team, I have a requirement for my servlets where I need to verify the end user access in AEM user group. If he is part of some xyz AEM group then only I want to allow him/her to access some /content resource. If he is not part of xyz group then I want to to reject the user request saying unauthor...
Hi Team, I am using Aspose.Pdf third party Java library. I declared the dependency as below <dependency><groupId>com.aspose</groupId><artifactId>aspose-pdf</artifactId><version>22.12</version></dependency> Aspose is suggsting to include their own repository in pom.xml. as below <repositories> <r...
Hi Team, I have dependency with a third party maven java library where in order to use that library we need a license. I received license from that third party vendor (thirdPartyLicense.lic). Now how can I include/use this third party library license in my AEM project? @lukasz-m @kautuk_sahni lets...
@bhagchand Simple way to debug this is go to you error.log file and search for your endpoint or name of servlet API. There you can see why the request is failing. Mostly it will be com.adobe.granite.csrf.impl.CSRFFilter isValidRequest: empty CSRF token - rejecting Then you can add your servlet path ...
SOLUTION: Hi @Tanika02 @salamswapnil @TarunKumar @kautuk_sahni ,@lukasz-m I am successfully able to pass the line JackrabbitAccessControlList acl = AccessControlUtils.getAccessControlList(accessControlManager, "path");without getting an exception. The code for passing above line without exception ...
Hi @Tanika02 , The method getAccessControlList(Session, String) is ambiguous for the type AccessControlUtils This getAccessControlList() method will not accept argument matchers because this method is of type overloaded one i.e. there is one more method with same method.Instead of any() we should gi...
Hi @salamswapnil , @Tanika02 I have tried the solution that you have proposed but still the control is going inside the actual method getAccessControlList() and it is not taking the mocked object. Getting java.lang.NullPointerException: Cannot invoke "javax.jcr.security.AccessControlPolicyIterator...