Expand my Community achievements bar.

SOLVED

How to disable/enable User and write a restful web service in AEM6

Avatar

Level 2

Hi,

 I have some questions can any one help me .

1. how to disable/enable a user using java code in AEM6, 

2. how to write a restful webservice in AEM6

Please give me some guidance

Thank you.

1 Accepted Solution

Avatar

Correct answer by
Level 10

You can write a custom SLING servlet and third party apps can invoke it. See this article as an example:

http://helpx.adobe.com/experience-manager/using/post_files.html

In this article- a custom sling Servlet is created in AEM. The Java client invokes it using a Restful request. 

View solution in original post

3 Replies

Avatar

Level 2

Hi Shekhar_Dhiman,

 thanks for your reply

I have read this articles, this is show me how to invoke third part web service ,do we have a way to create a restful web service invoked by a third part?

Avatar

Correct answer by
Level 10

You can write a custom SLING servlet and third party apps can invoke it. See this article as an example:

http://helpx.adobe.com/experience-manager/using/post_files.html

In this article- a custom sling Servlet is created in AEM. The Java client invokes it using a Restful request.