An application contains an OSGi configuration that contains a password.
How should a developer prevent this sensitive information from being stored in plain text in JCR?
Question No 2
A custom bundle of an application is in state "Installed" after deploying it with Maven.
What should a developer do to change it to state "Active"?
Question No 3
A developer needs to implement a header component for a website. The component has the
following requirements:
- The component should be configured once on the page highest in the hierarchy.
- The header component on pages lower in the hierarchy should look the same and show the same
data.
- If necessary, the configuration can be overwritten on a child page.
- The component should show a list of links that are configured in the header component.
Which code snippet for returning the list of pages should the developer use?
Question No 4
A developer is creating a custom component on the page /latestBlogs.html that needs to list all the
titles of the blogs pages under /content/blogs.
How does this component get the list of child pages?
Question No 5
A developer is working with the following HTL expression in a component rendering script:
${'path/page.infinity.json' @extension = 'html',
removeSelectors = ['foo'],
selectors = ['foo', 'bar'],
prependSuffix = 'hello',
suffix = 'world' }
What is the expected output of this expression?