Wednesday, 18 December 2013

Developing AEM OSGi bundles that use Jackrabbit UserManager APIs

You can develop an Adobe Experience Manager (AEM) OSGi bundle that uses Jackrabbit UserManager APIs to perform AEM user operations. This API provides access to both AEM users and groups and is located in the
org.apache.jackrabbit.api.security.user Java package.

Using an OSGi bundle that contains these APIs, you can retrieve AEM user identifier values and perform a task using these values. In this development article, the retrieved AEM user identifier values are written to the Adobe CQ log file.

7.12.2013 17:25:09.689 *INFO* [0:0:0:0:0:0:0:1 [1387319109155] GET /content/Blog.html HTTP/1.1] com.aem.users.SearchUsersImpl Retrieved USER admin
17.12.2013 17:25:09.689 *INFO* [0:0:0:0:0:0:0:1 [1387319109155] GET /content/Blog.html HTTP/1.1] com.aem.users.SearchUsersImpl Retrieved USER replication-receiver
17.12.2013 17:25:09.708 *INFO* [0:0:0:0:0:0:0:1 [1387319109155] GET /content/Blog.html HTTP/1.1] com.aem.users.SearchUsersImpl Retrieved USER anonymous
17.12.2013 17:25:09.709 *INFO* [0:0:0:0:0:0:0:1 [1387319109155] GET /content/Blog.html HTTP/1.1] com.aem.users.SearchUsersImpl Retrieved USER zachary.w.mitchell@spambob.com


To read this development article, click  http://helpx.adobe.com/experience-manager/using/developing-aem-osgi-bundles-jackrabbit.html.

Adobe Digital Marketing Community

Join the Adobe Digital Marketing Community. Start by clicking this banner

About the Author

I (Scott Macdonald) am a Senior Digital Marketing Community Manager at Adobe Systems with over 16 years in the high tech industry. I am also a programmer with knowledge in Java, JavaScript, C#,C++, HTML, XML and ActionScript. If  you would like to see more CQ or other Adobe Digital Marketing end to end articles like this, then leave a comment and let me know what content you would like to see.

Linked Inhttp://www.linkedin.com/in/scottmacdonald2010
TwitterFollow the Digital Marketing Customer Care team on Twitter @AdobeMktgCare.

No comments:

Post a Comment