Expand my Community achievements bar.

fperez
fperez
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • I was able to find a solution here: https://binarycipher.dev/java-lang-illegalstateexception-unable-to-enable-secure-processing/  And it just consists on adding the following dependency to the core maven project: <dependency> <groupId>xerces</groupId> <artifactId>xercesImpl</artifactId> <ver...

    Type

    Questions

    Views

    651

    Likes

    2

    Replies

    0
  • Problem I encountered with newest available AEM archetype (May 2023) and running unit tests is the method:aemContext.load().json("file.json","/path/in/aem") It gives out the following exception:java.lang.IllegalStateException: Unable to enable secure processingThis is a very common way to load conte...

    Type

    Questions

    Views

    653

    Likes

    0

    Replies

    2
  • Final update:I found out what the problem was. All of the setup was correct except one thing briefly mentioned in the article. All privileges are applied through the system user: oauthservice.This user is in charge of applying the privileges for the custom scopes. I set permissions for /content/dam ...

    Type

    Discussions

    Views

    700

    Like

    1

    Replies

    0
  • Probably need more information to answer the question, you can send what your browser network tab logs? You could verify the request that way to make sure everything is coming as expected to the servlet. Check headers and parameters.I also noticed you are outputting the messages on the doGet method ...

    Type

    Questions

    Views

    1.7K

    Like

    1

    Replies

    0
  • Update on this: I can see the registered client correctly on AEM, I can also see the tokens granted, with the custom scope I created, containing jcr:all permissions for /content/dam. When I try to access anything in the JCR response is 404, and when I try servlets response is correct. This points to...

    Type

    Discussions

    Views

    717

    Like

    1

    Replies

    0
  • I am trying to set the OAuth 2.0 flow for server to server communication. I am able to do the steps outlined here https://medium.com/tech-learnings/how-to-manage-the-protected-aem-resources-through-oauth-2-0-851ce4c7a5ef up until the point of getting the token back form AEM. Using the token on the n...

    Type

    Discussions

    Views

    741

    Likes

    0

    Replies

    3
Top badges earned by fperez
Customize the badges you want to showcase on your profile