We had AMS do some work for us and under /apps/<ourapp>/config folder we have some nodes not named by the pid but the type of node is ntfile instead of osgi:Config.I thought any config node has to be named of type sling;OsgiConfig?
No I meant either ways, not that we are opening sessions using both methods. If I just use session using AdaptTo, does that also need to be closed using session.close()
Or it makes sense to use every component like this@Activate protected void activate() { session = null; try { session = repo.loginAdministrative(); … } catch (RepositoryException e) { // log the exception } } @Deactivate protected void deactivate() { if (session != ...
Does this apply only while getting an admin session using resolverfactory or even a regular session using resourceResolver.adaptTo(Session.class) using the request object of the servlet?
We are seeing this error in the logs. I've seen that the vendor who wrote code for us is using something like this ResourceResolver resourceResolver = request.getResourceResolver(); QueryBuilder queryBuilder = resourceResolver.adaptTo(QueryBuilder.class); Session session = resourceReso...
Got this working. Following was the querypath=/home/users nodename=profiledaterange.property=cq:lastModified daterange.upperBound=2015-06-06 group.2_group.p.not= true group.2_group.1_property=email group.2_group.1_property.1_value = %domain.org group.2_group.1_property.operation = likep.limit=-1o...
AmitThe query doesn't include the first clause at all. For whatever reason, the first group is being ignoredsee generated xpath/jcr:root/home/users//*[not(((jcr:like(@email, '%mydomain.org'))))and fn:name() = 'profile']order by @email
So we need a query to find users whose last modified date is earlier than say 2015/06/01 AND whose email address (property in profile) does not contain say "@mydomain.com" in their email address fieldCurrent query (without the AND is). Can you suggest how to add the AND (DOES NOT CONTAIN)path=/home/...
Custom authentication was implemented for us by Adobe Professional Services. We do a bunch of cleanup after logging in including completely destroying old memberships and creating new ones etc. Lars (below in the thread) recommended using com.adobe.granite.auth.saml.util to achieve the same results....