この会話は、活動がないためロックされています。新しい投稿を作成してください。
この会話は、活動がないためロックされています。新しい投稿を作成してください。
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
解決済! 解決策の投稿を見る。
表示
返信
いいね!の合計
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
表示
返信
いいね!の合計
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
表示
返信
いいね!の合計
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?
表示
返信
いいね!の合計
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.
表示
返信
いいね!の合計
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.
表示
返信
いいね!の合計
Read the Slng Auth docs here. Apache Sling :: Authentication
表示
返信
いいね!の合計
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?
表示
返信
いいね!の合計