Hi all,
@SlingServlet(paths = "/bin/upload/jsoncontent", methods = "GET", metatype = false)
public class CMTServlet extends SlingSafeMethodsServlet {
private final Logger log = LoggerFactory.getLogger(getClass()); }
=> I am facing 403 while trying to hit above servlet using Apache Authentication Handler...
=> How to solve it ?
=> I want my Sling Servlet to be protected?
Thanks in advance
Solved! Go to Solution.
Views
Replies
Total Likes
Here is an older community article that may help you -- Adobe CQ/Adobe AEM: How to Create Custom Authentication Handler in CQ
Also see -
http://aempodcast.com/2017/aem-resources/week-aem-custom-authentication-handler/#.WiVMjzdOmF4
Views
Replies
Total Likes
Here is an older community article that may help you -- Adobe CQ/Adobe AEM: How to Create Custom Authentication Handler in CQ
Also see -
http://aempodcast.com/2017/aem-resources/week-aem-custom-authentication-handler/#.WiVMjzdOmF4
Views
Replies
Total Likes
Thanks for the blog. It was usefull.
I want to hit the servlet directly with the URL below from a cross domain [ out of AEM ]
Example: http://localhost:4200/bin/upload/json?username="admin"?password="admin"
How can I do it?
Views
Replies
Total Likes
Typically, authentication handlers are called from components within AEM - such as a LOGIN Component - as discussed here -- Scott's Digital Community: Creating a Login Component for the Experience Manager Toy Store
This one invokes the default one however.
Views
Replies
Total Likes
Hey Scott,
I'll rephrase my original question. I would like to create a Sling Servlet which is protected. This servlet will be accessed from an external application. I'm looking for a way to authenticate with AEM and then call this servlet? Looking for ways to implement this.
Views
Replies
Total Likes
Read the Slng Auth docs here. Apache Sling :: Authentication
Views
Replies
Total Likes
I am facing this error on build of the bundle
org.apache.sling.jcr.jackrabbit.server.security,version=[2.0,3) -- Cannot be resolved
Which version should I use for It? How to solve this issue?
Views
Replies
Total Likes
Views
Likes
Replies