since ‎09-10-2015
‎10-12-2019
au4liferz
Level 2
Re: Best means of providing granular page or field level security/access in AEM
Avatar

au4liferz

au4liferz
- Adobe Experience Manager
Jörg Hoh wrote... Hi, To 1) and 2): Try to avoid to put access control down to a page level; it is possible and there are usecases for it, but doing so gives makes you a lot of work to define, implement and maintain it. It is constant work! And while technically you can even implement access control down to a property level: Don't do it. To 3): The term "ACL" in the AEM world is the only existing one; even other products might have different approaches and implementations, ACLs as a list of ACEs...

Views

297

Likes

0

Replies

0
Re: What's the best way to customize the Asset editor in a 6.1 multi-tenant environment?
Avatar

au4liferz

au4liferz
- Adobe Experience Manager
smacdonald2008 wrote... Follow the Adobe docs - if you think its wrong - please file a ticket. I wish we had more content for this use case - but the docs are the only source of content that is applicable. Is there a document that covers how to do this in a multi-tenant environment, (with pros and cons of various approaches)? E.g., when it comes to page components, there are tons of documentation that covers best practices and ways to overlay, extend, inherit etc. so that you don't change the ou...

Views

632

Likes

0

Replies

1
Re: What's the best way to customize the Asset editor in a 6.1 multi-tenant environment?
Avatar

au4liferz

au4liferz
- Adobe Experience Manager
Does anyone have any ideas/alternate solutions with various pros and cons, for resolving this issue?

Views

632

Likes

0

Replies

3
What's the best way to customize the Asset editor in a 6.1 multi-tenant environment?
Avatar

au4liferz

au4liferz
- Adobe Experience Manager
In an AEM 6.1 environment with multiple sites deployed to the same instances, how could we go about extending/customizing the DAM asset editor in a way where all projects could add a few custom meta-data fields to the fields that come with the out of the box asset editor? Is it as simple as naming each tenants asset editor with a different name etc., (/site1-asseteditor, /site2-asseteditor, /site3-asseteditor), or otherwise differentiating by path etc.? The problem is that more than one site has...

Views

803

Likes

0

Replies

5
Re: Best means of providing granular page or field level security/access in AEM
Avatar

au4liferz

au4liferz
- Adobe Experience Manager
Thanks Jorg!

Views

298

Likes

0

Replies

0
Best means of providing granular page or field level security/access in AEM
Avatar

au4liferz

au4liferz
- Adobe Experience Manager
1. What is the best means of providing granular access at the page level?2. What is the best means of providing access down to the field level?3. What is the difference between ACL's and ACP's, (i.e. Access Control Policies)? I'm assuming that in most general cases, using ACL's is the best option to provide access to pages, (i.e. by setting up groups, and then specifying the Actions allowed by that group), but depending on the requirements, in some cases it might be best to implement it in LDAP....

Views

685

Likes

0

Replies

4
Re: Issues after applying SP1 to AEM 6.1 instance
Avatar

au4liferz

au4liferz
- Adobe Experience Manager
alin7ilie wrote... So was this solved? I'm seeing the exact same issue. As bsloki suggested, please log a daycare ticket and then report back with the resolution. If enough of us log tickets, they may go ahead and determine the root cause of the issue instead of just saying you should restore from your backup, (which really isn't a resolution at all).

Views

4.2K

Likes

0

Replies

12
Re: Issues after applying SP1 to AEM 6.1 instance
Avatar

au4liferz

au4liferz
- Adobe Experience Manager
bsloki wrote... It looks like an issue. Even I am facing the same problem. Please log a daycare ticket I logged daycare tickets, but they were not able to help. They had me go through all of the basic steps, but ultimately told me to restore from my backup, (which isn't much helped in resolving the root cause of this issue). Seems as if whenever problem resolution is really tough, the default answer is to "restore from your backup"

Views

4.2K

Likes

0

Replies

1
Should rep:policy nodes be showing up in an AEM 6.1 instance???
Avatar

au4liferz

au4liferz
- Adobe Experience Manager
Didn't Adobe switch/change the implementation for user and group permissions from 5.6.1 to 6.1 from rep:policy nodes to rep:permission nodes? If that's the case, why are rep:policy nodes showing up in my AEM 6.1 installation? It could also explain some of the issues I mentioned in the other thread regarding having issues after installing SP1.

Views

449

Likes

0

Replies

1
Re: I've suddenly lost all nodes under /app. Could it be repository corruption???
Avatar

au4liferz

au4liferz
- Adobe Experience Manager
smacdonald2008 wrote... I have passed this question to AEM support - you need input from support. There is some sort of bug here. One other question. Are rep:policy nodes supposed to be a part of AEM 6.1??? I thought you switched to a new ACL mechanism/implementation with the move from 5.6.1, to 6.1? If that's the case, they shouldn't be showing up in a 6.1 instance, right?

Views

292

Likes

0

Replies

0
Re: I've suddenly lost all nodes under /app. Could it be repository corruption???
Avatar

au4liferz

au4liferz
- Adobe Experience Manager
Sham HC wrote... The symptoms indicates there is another workspace created may be due to change in repository path or OS level file system issue. Attaching the logs to daycare before & after issue occured could lead to find the operation that caused it. Most of time I have seen is due to new team doing an installation or os update without knowing their implementations. I've seen that happen, but when that happens, you have a clean install. In this case, all of the other content under /content, i...

Views

252

Likes

0

Replies

0
Re: I've suddenly lost all nodes under /app. Could it be repository corruption???
Avatar

au4liferz

au4liferz
- Adobe Experience Manager
JK Kendall wrote... One thought that popped into my head was permissions. Is it possible read permission was accidentally removed for /apps? You can look at the Permissions for the userid you're using to sign in with using the security console. -JK This seems to fit the symptoms. All of the other content is there, and visible. It's just the folders/nodes that was under /app that are gone, and there are rep:policy nodes showing up under every node, (and they weren't there before).

Views

251

Likes

0

Replies

0
Re: I've suddenly lost all nodes under /app. Could it be repository corruption???
Avatar

au4liferz

au4liferz
- Adobe Experience Manager
I created a Daycare ticket, but has anyone else had this problem? If so, how did you resolve it, (If you were able to resolve it)?

Views

253

Likes

0

Replies

0
I've suddenly lost all nodes under /app. Could it be repository corruption???
Avatar

au4liferz

au4liferz
- Adobe Experience Manager
This is an AEM 6.1 instance. I'd changed the memory for the JVM to -Xmx4096m, and I was building SP1 packages, and re-installing them, and all of a sudden, all of my nodes under /app, (e.g., /component) disappeared. The only node that shows in CRXDE Lite under /app is the rep:policy node. I've tried running consistency checks, (both from the Web Console, (http://localhost:4502/system/console/repositorycheck), and under the "com.adobe.granite (Repository) JMX" mBean, (which doesn't seem to run at...

Views

786

Likes

0

Replies

7
Re: Issues after applying SP1 to AEM 6.1 instance
Avatar

au4liferz

au4liferz
- Adobe Experience Manager
bsloki wrote... I see this issue only with /projects.html but I am able to access all other URLs like /welcome.html, /crx/de, /system/console etc.. That's correct. It's only ../project.html, and a few other .html pages, (i.e. all of the touch UI stuff).

Views

2.7K

Likes

0

Replies

1
Re: Issues after applying SP1 to AEM 6.1 instance
Avatar

au4liferz

au4liferz
- Adobe Experience Manager
Opkar Gill wrote... You mentioned a Java versions mismatch, did you change the version of java you were using after the upgrade? Regards, Opkar No, but I was just thinking that perhaps, the version of java that Adobe used to compile the JSPs that were included in the SP1 package, might be different from the JVM that I'm running on, (which I've seen cause issues before). That's why I want to know how I can verify that all of the JSPs have been re-compiled, (i.e. both specific/individual JSPs, and...

Views

2.7K

Likes

0

Replies

4
Re: Issues after applying SP1 to AEM 6.1 instance
Avatar

au4liferz

au4liferz
- Adobe Experience Manager
Opkar Gill wrote... Was 218 the bundle ID for the org.apache.sling.commons.fsclassloader bundle as seen in the system console. If you delete all the class files on the hard disk, are they re-created when you restart and open the projects.html page? Regards, Opkar Yes, 218 was the bundle ID for the FSC ClassLoader, and yes again, when I deleted the "classes" folder, and restarted AEM, it re-generated the "classes folder", (so I know all JSPs under that folder were re-generated, and I'm ASSUMING t...

Views

2.7K

Likes

0

Replies

23
Issues after applying SP1 to AEM 6.1 instance
Avatar

au4liferz

au4liferz
- Adobe Experience Manager
After installing AEM-6.1-Service-Pack-1 I can't reach several sites within AEM, (even the main page at http://localhost:4502/projects.html). I get the error listed below, informing me that there are issues in /libs/cq/experiencelog/components/head/head.jsp. This is listed as a "Known issue", and the fix is supposed to be fairly simple, (just recompile the JSPs). I've tried the following things, to no avail. The issue is still there.1. Gone to http://localhost:4502/system/console/slingjsp, and hi...

Views

4.7K

Likes

2

Replies

26
Re: Restful web services
Avatar

au4liferz

au4liferz
- Adobe Experience Manager
smacdonald2008 wrote... Follow the steps - when you use Eclipse plug-in project to wrap the 3rd party JARs - Eclipse will populate the Export sections in the MF files. You do not need to add or remove any packages from the MF file. Just remove the versions beside the packages in the MF file. Then continue the steps to build the OSGi bundle that holds the 3rd party JARS. See this thread for full explanation: http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experi...

Views

294

Likes

0

Replies

0
Re: Restful web services
Avatar

au4liferz

au4liferz
- Adobe Experience Manager
nsvsrk wrote... Hi all, Tried all these without success, including copying the attached settings.xml to my .m2.. Are these versions OK? Using Java 1.7; Maven 3.0.3. Could I show this using Adobe Connect now? I would guess that it takes a few mins for you to crack it out. Thanks, Rama. If Scott's last suggestion doesn't work, (i.e. cleaning everything out to get maven working), please run "mvn -eX", (i.e. with the switches to turn on full/verbose debugging), and then paste the first couple of err...

Views

271

Likes

0

Replies

0
Re: Errors trying to implement Adobe Helpx RESTful Services example
Avatar

au4liferz

au4liferz
- Adobe Experience Manager
smacdonald2008 wrote... I will add a note that says it is automatically done. If it's empty - this means that Eclipse did not do its job for some reason. I am very glad you got it working. The article tells you to "make sure that the Import-Package header is MANIFEST.MF is populated", but it doesn't tell you what to do if Eclipse doesn't populate it. How would a AEM user typically find out that he needed to import the org.apache.commons.logging package, (and other dependent packages) in the Impo...

Views

386

Likes

0

Replies

0
Re: Errors trying to implement Adobe Helpx RESTful Services example
Avatar

au4liferz

au4liferz
- Adobe Experience Manager
smacdonald2008 wrote... If you do not understand - we can arrange for a connect session and we will show you all of this. Let me know. Thank you SO much for the information, and the offer to do a connect session. Fortunately, I don't need it in this instance, (so I'll take a raincheck for a future issue ). I now have the example working in both the 5.6.1, and the 6.1 environments. The issue with the 6.1 environment, (which I simply downloaded and installed the package), had to do with the OSGI b...

Views

386

Likes

0

Replies

0
Re: Errors trying to implement Adobe Helpx RESTful Services example
Avatar

au4liferz

au4liferz
- Adobe Experience Manager
smacdonald2008 wrote... I tested on 5.6 too and it works fine. If you see weird OSGi message like this - install these community samples apps on a fresh instance of CQ. Looks like your other version had some sort of OSGi dependency conflicts or something else was corrupt for some reason. Here is information on the hook rejection message: https://issues.apache.org/jira/browse/KARAF-1728 So my advice would be to install on a fresh install and test. Remember these community articles are to teach yo...

Views

380

Likes

0

Replies

0
Re: Errors trying to implement Adobe Helpx RESTful Services example
Avatar

au4liferz

au4liferz
- Adobe Experience Manager
OSGI Bundle Information (from Console):I'm not sure the Export-package and Import-package headers in the Manifest are correct. Test Commons Sandbox Bundlecom.test.aem.sandbox-bundle Symbolic Name com.test.aem.sandbox-bundle Version 1.0.0.SNAPSHOT Bundle Location inputstream:sandbox-bundle-1.0-SNAPSHOT.jar Last Modification Tue Jan 26 14:44:32 COT 2016 Description Maven Multimodule project for TestCommons Sandbox. Start Level 20 Exported Packages com.test.aem.sandbox,version=1.0.0 Imported Packag...

Views

384

Likes

0

Replies

0
Errors trying to implement Adobe Helpx RESTful Services example
Avatar

au4liferz

au4liferz
- Adobe Experience Manager
I'm trying to implement the example found at: https://helpx.adobe.com/experience-manager/using/restful-services.html , however, I keep getting the "Unexpected token <", due to the server probably returning a 404 or some other HTML error code. I followed the article and implemented it step by step in a 5.6.1 environment. When I initially imported my OSGI bundle containing the org.apache.httpclient jars, it was running/active, but now, it is only listed as "Installed", and when I click on the "sta...

Views

1.1K

Likes

0

Replies

11
Re: Package cannot be resolved in OSGi Bundle
Avatar

au4liferz

au4liferz
- Adobe Experience Manager
smacdonald2008 wrote... Adding this 3rd party JAR was a required step to work with this lib in an OSGi service. I also sent you an email - I said I would setup a connect session if you want on Monday to walk through this use case. This may make a good helpx communtiy article as well so future community members working with this lib will not have this issue. We will get this resolved. Send me back an email. Scott, if he chooses to do this, would you be able to set up a general web meeting? I'd VE...

Views

1.2K

Likes

0

Replies

0
Re: Granite HTTP Cache Filter docs
Avatar

au4liferz

au4liferz
- Adobe Experience Manager
Jitendra S.Tomar wrote... Hello there, Here is one doc which explains HTTP Cache in AEM 6.0 and how to extend it. I guess this could help you. https://adobe-consulting-services.github.io/acs-aem-commons/features/http-cache.html Jitendra Pacoolsky wrote... Since AEM 6.0 there is "Granite HTTP Cache - Core Bundle" which I guess can work as an outer cache.Unfortunately I cannot find any documentation on this topic. Does anybody know more about this or can share some link/details ? Moreover Is HTTP ...

Views

337

Likes

0

Replies

0
What is the best API to use to create files in the JCR programatically?
Avatar

au4liferz

au4liferz
- Adobe Experience Manager
What's best practice for creating regular files, (e.g. .css, .txt, .js etc.), programatically, and locating them under the appropriate node?

Views

3.6K

Likes

0

Replies

4
Re: Granite HTTP Cache Filter docs
Avatar

au4liferz

au4liferz
- Adobe Experience Manager
Can someone elaborate on this old topic/question now that this feature has been out for a while?

Views

339

Likes

0

Replies

0
Re: Injecting custom markup and script snippets with Sightly
Avatar

au4liferz

au4liferz
- Adobe Experience Manager
leeasling wrote... If you're talking about HTML and JavaScript entered into a dialog, sure, although it's not really best practice to give an author that much control. There are a VERY small subset of authors/web developers, that we might grant the privileges/ability to do such things, (so that they can accommodate certain dynamic requirements without having to involve core development team), but in most cases, the injection would be done by other components, (i.e. where an injection component w...

Views

264

Likes

0

Replies

0