AEM
Installation on AEM
Manual
- Download the package from the releases page
- Install the package via the AEM package manager
- Configure the endpoint to you Ethereal Nexus Dashboard.
- Assign your configuration to a sites project.
Adding to your Codebase
* On your AEM Project (Preferred)
- Add the github repository
<repositories> <repository> <id>ethereal-nexus</id> <name>GitHub Ethereal Nexus</name> <url>https://maven.pkg.github.com/diconium/ethereal-nexus</url> </repository></repositories>
- Add the Maven dependency to you AEM project on module: all file: pom.xml
<dependency> <groupId>com.diconium</groupId> <artifactId>ethereal-nexus.all</artifactId> <version>1.2.16</version> <type>zip</type></dependency>
- Add the Embedded vault package definition on module: all file: pom.xml
<embedded> <groupId>com.diconium</groupId> <artifactId>ethereal-nexus.all</artifactId> <type>zip</type> <target>/apps/REPLACE_WITH_YOUR_CUSTOM_NAME-vendor-packages/remote-components/install</target></embedded>
- Configure the endpoint to you Ethereal Nexus Dashboard.
- Assign your configuration to a sites project.
Configuration
You need to configure the AEM instances to recognize and interact with the Ethereal Nexus connector. Steps to Configure Ethereal Nexus in AEM
Steps to Configure Ethereal Nexus in AEM
1. Configure Ethereal Nexus in Cloud Services
- In AEM, navigate to Tools > Cloud Services > Legacy Cloud Services.
- Under Third Party Services, select Ethereal Nexus Configuration.
- Add a new configuration for each environment you want to connect to.
- Fill in the details for All Components Configuration (this will be used in template policies).
2. Set Permissions for the Service User
- Navigate to Tools > Security > Permissions.
- Find the user
remote-components-resolver
and click Add ACE. - Under Path, enter
/content
and select the permissions you want to assign. - Under Privileges, select
jcr:read
. - Click Add to save the changes.
3. Assign the Configuration to Your Site
- In AEM, go to Sites and select your site (
/content/your-site
). - Open Page Properties for your site.
- Under Cloud Services Configurations, select the Ethereal Nexus configuration you created previously.
Configure OAuth
ℹ️ Info: This requires configuration on Ethereal Nexus dashboard. For more details, refer to the Access Management documentation.
Requirements:
- ServerUrl
- Realm
- Client ID
- Client Secret
- Subject
1. Update the pom.xml to include the auth bundle:
- Add the embedded vault package definition on module: all file: pom.xml
<embedded> <groupId>com.diconium</groupId> <artifactId>ethereal-nexus-bundle-auth</artifactId> <target>/apps/REPLACE_WITH_YOUR_CUSTOM_NAME-vendor-packages/remote-components/install</target> <type>jar</type></embedded>
- Under Dependencies, add the following Maven dependency:
<dependency> <groupId>com.diconium</groupId> <artifactId>ethereal-nexus-bundle-auth</artifactId> <version>8.3.11</version></dependency>
2. Create the OSGI configuration :
- Crete a Osgi configuration for Persistent Identity (PID):
com.diconium.keycloak.services.OAuthService
- serverUrl:
https://your-keycloak-server
- realm:
your-realm
- clientId:
your-client-id
- clientSecret:
your-client-secret
- cacheDuration:
300
- sslRequired:
true
- Click Save.
3. Update or create a new Ethereal Nexus configuration in the Cloud Services
- Navigate to Tools > Cloud Services > Legacy Cloud Services
- update or create a new Ethereal Nexus configuration.
- Ensure the Authentication Type is set to Bearer.
4. Assign the Configuration to Your Site
- In AEM, go to Sites and select your site (
/content/your-site
). - Open Page Properties for your site.
- Under Cloud Services Configurations, select the Ethereal Nexus configuration you created previously.