since ‎27-01-2013
‎02-07-2020
Stanleyor
Level 2
Re: SAML Logout
Avatar

Stanleyor

Stanleyor
- Adobe Experience Manager
Thank you @Jörg_Hoh and @Andrew_Khoury for your answers, information and ideas.

Views

165

Like

1

Replies

0
SAML Logout
Avatar

Stanleyor

Stanleyor
- Adobe Experience Manager
I'm working on SAML 2.0 integration on totally clean 6.4.8.1 instance.Login works properly. However, logout fails with NPE. In logs I see:19.06.2020 11:32:21.061 *ERROR* [0:0:0:0:0:0:0:1 [1592555541049] GET /system/sling/logout.html HTTP/1.1] com.adobe.granite.auth.saml.SamlAuthenticationHandler Unable to perform SAML logout.java.lang.NullPointerException: nullat com.adobe.granite.auth.saml.SamlAuthenticationHandler.createLogoutRequest(SamlAuthenticationHandler.java:916) [com.adobe.granite.auth....

Views

419

Like

1

Replies

3
Re: How to interact with an existing coralUI component?
Avatar

Stanleyor

Stanleyor
- Adobe Experience Manager
I do not think that the question is answered completely.I want dynamically mark an input field as required. Using jQuery that is possible to add the required attribute. It works. Although there is a difference with a field that is initially required. The difference is the red triangle on the top right side.Is it possible to read Coral object from DOM? For example:var textField = new Coral.Textfield($("#textFieldId"));textField.required = true;Yes/no ?Thanks

Views

3.8K

Likes

0

Replies

4
Re: 404 when access resource using /etc.clientlib proxy
Avatar

Stanleyor

Stanleyor
- Adobe Experience Manager
I am experiencing the same problem without dispatcher. Using localhost:450304.09.2017 09:55:13.700 *INFO* [0:0:0:0:0:0:0:1 [1504511713699] GET /etc.clientlibs/project/components/translation-container/clientlibs/css/images/translation.svg HTTP/1.1] com.adobe.granite.ui.clientlibs.impl.ClientLibraryProxyServlet Unable to proxy static resources at project/components/translation-container/clientlibs/css/images/translation.svg. Not allowed outside resources.allowProxy on the translation-container com...

Views

1.2K

Likes

0

Replies

0
Re: Error "File /META-INF/tags/HelloTag.tag not found" when creating custom JSP Tag lib
Avatar

Stanleyor

Stanleyor
- Adobe Experience Manager
Removing of the com.cqblueprints.taglib bundle has fixed the issue

Views

4.7K

Like

1

Replies

0
Re: Facebook log-in is broken
Avatar

Stanleyor

Stanleyor
- Adobe Experience Manager
If someone experiencing the same problem:Finally after 2 weeks we got a hot-fix from Adobe.The claim in docs that "AEM 6.2 Communities works with FB API 2.5" is a lie. You need a hot-fix to make it work.

Views

1.0K

Likes

0

Replies

0
Re: Facebook log-in is broken
Avatar

Stanleyor

Stanleyor
- Adobe Experience Manager
Hey, JK KendallThank you for your help

Views

1.0K

Likes

0

Replies

0
Re: Facebook log-in is broken
Avatar

Stanleyor

Stanleyor
- Adobe Experience Manager
https://developers.facebook.com/docs/apps/changelog -> Changes from v2.2 to v2.3 [Oauth Access Token] Format - The response format of https://www.facebook.com/v2.3/oauth/access_token returned when you exchange a code for an access_token now return valid JSON instead of being URL encoded. The new format of this response is {"access_token": {TOKEN}, "token_type":{TYPE}, "expires_in":{TIME}}. We made this update to be compliant with section 5.1 of RFC 6749.If I understood correctly for version >= 2...

Views

1.0K

Likes

0

Replies

0
Re: Facebook log-in is broken
Avatar

Stanleyor

Stanleyor
- Adobe Experience Manager
Hey, JK KendallI've just updated AEM Communities with AEM-6.2-COMMUNITIES-LIVEFYRE-FEATURE-PACK-2 Version: 1.10.111 but the problem is still there. The feature pack has *not* fixed the problem. Currently we are using Version: 1.10.11129.03.2017 10:33:47.585 *ERROR* [qtp456392319-11621] com.adobe.granite.auth.oauth.impl.oauth2.Oauth2Helper Response body is incorrect. Can't extract a token from this: '{"access_token":"EAAJGDvtJEUYBACvrh7nPweWzT254Fr5akEw8akKV6WDIgYSK9FmszwIfZBbvP9yKeqf8yeKv5foKdeY...

Views

1.0K

Likes

0

Replies

0
Re: Facebook log-in is broken
Avatar

Stanleyor

Stanleyor
- Adobe Experience Manager
If I understand correctly that is what AEM uses:https://github.com/dsyer/scribe-java/blob/master/src/main/java/org/scribe/extractors/TokenExtractor20Impl.java public class TokenExtractor20Impl implements AccessTokenExtractor { private static final String TOKEN_REGEX = "access_token=([^&]+)"; private static final String EMPTY_SECRET = ""; /** * {@inheritDoc} */ public Token extract(String response) { Preconditions.checkEmptyString(response, "Response body is incorrect. Can't extract a token from ...

Views

1.0K

Like

1

Replies

0
Facebook log-in is broken
Avatar

Stanleyor

Stanleyor
- Adobe Experience Manager
HeyToday facebook log-in on our web-site stopped working:28.03.2017 10:54:52.313 *ERROR* [qtp1448280031-74010] com.adobe.granite.auth.oauth.impl.oauth2.Oauth2Helper Response body is incorrect. Can't extract a token from this: '{"access_token":"EAAJGDvtJEUYBANHEc5fdkYXLtAgDV6YHLcZCU87Rf7EPbTZAH05LqtAs1yZBXC3uLPDvpUpPMZCYEWLZCOdIksfObQ8Eu2gVibrZC1yr2lDvE5GeWt72S2Idsss7IbrhEIBNImkL78JAk82RpyMRCz5WdDMiDO2t8dPQdtINowNgZDZD","token_type":"bearer","expires_in":5112541}' org.scribe.exceptions.OAuthExcep...

Views

5.2K

Like

1

Replies

12
Re: Adobe Granite Durbo Import Configuration Provider
Avatar

Stanleyor

Stanleyor
- Adobe Experience Manager
Hey, JorgI want to keep UUIDs of replicated nodes.I am interested in a node identifier among all AEM instances. I thought that jcr:uuid is replicated as is but that is not the case. Another option is a path but the path can be changed. Since a path is mutable I am out of ideas.AEM keeps UUIDs of replicated users and groups. I do not know how this is configured.That is possible to create custom replication solution and use xmlImport with appropriate ImportUUIDBehavior but I want to configure exis...

Views

962

Likes

0

Replies

0
Adobe Granite Durbo Import Configuration Provider
Avatar

Stanleyor

Stanleyor
- Adobe Experience Manager
How to add a few node types into the Preserve UUIDs for nodetypes (preserve.uuid.nodetypes) field? Coma, semi-column and new line do not work.Where it is described how to configure Durbo importer? Any document?Thanks

Views

1.4K

Likes

0

Replies

4
Re: siteadmin page showing blank in AEM 6.0 SP2
Avatar

Stanleyor

Stanleyor
- Adobe Experience Manager
Solution http://stackoverflow.com/questions/35070488/cq5-not-returning-child-pages-json-data-on-infinity-json-request solved such a problemIn my case I set the json.maximumresults of the Apache Sling Get Servlet to 200 and got siteadmin working

Views

1.4K

Like

1

Replies

0
Re: siteadmin page showing blank in AEM 6.0 SP2
Avatar

Stanleyor

Stanleyor
- Adobe Experience Manager
That is not a solution

Views

1.3K

Likes

0

Replies

0
Re: Error while creating workspace
Avatar

Stanleyor

Stanleyor
- Adobe Experience Manager
Hey Jorg,Thank you for your answer.That was not own custom versioning solution. A node was cloned to another workspace and restored in this workspace.I found another solution where workspace creation is not required. Hence we can close this topic

Views

2.3K

Likes

0

Replies

1
Re: Error "File /META-INF/tags/HelloTag.tag not found" when creating custom JSP Tag lib
Avatar

Stanleyor

Stanleyor
- Adobe Experience Manager
I've removed obsolete bundlescom.squeakysand.sling - squeakysand-sling-taglibcom.squeakysand.sling.squeakysand-sling-taglib com.squeakysand.jsp - squeakysand-jsp-taglibcom.squeakysand.jsp.squeakysand-jsp-taglib com.squeakysand.jcr - squeakysand-jcr-taglibcom.squeakysand.jcr.squeakysand-jcr-taglib com.cqblueprints.taglib - cqblueprints-taglibcom.cqblueprints.taglib.cqblueprints-tagliband this has fixed my problem

Views

4.7K

Likes

0

Replies

0
Re: Error "File /META-INF/tags/HelloTag.tag not found" when creating custom JSP Tag lib
Avatar

Stanleyor

Stanleyor
- Adobe Experience Manager
The same problem @sruthia75953514 described. Works fine in 5.6.1. On 6.2 a page is not loaded and in logs:org.apache.sling.scripting.jsp.jasper.JasperException: File "/META-INF/tags/helloWorld.tagx" not foundAny solutions?

Views

2.6K

Likes

0

Replies

2
Re: Error while creating workspace
Avatar

Stanleyor

Stanleyor
- Adobe Experience Manager
In our project's code a workspace creation is used for a page version restoring. A page node is cloned, copied to the new workspace and needed revision (version) is restored without any affect on the current page node state.The process is:new workspace is created (temporary)a page node cloned from current (working) workspace to the temporary workspaceneeded version (revision) of the page node is restored in the temporary workspace How to restore a revision without changing a page node state?

Views

2.3K

Likes

0

Replies

3
Re: Query returns obsolete results
Avatar

Stanleyor

Stanleyor
- Adobe Experience Manager
Instance restart has fixed the problem

Views

876

Likes

0

Replies

0
Re: Query returns obsolete results
Avatar

Stanleyor

Stanleyor
- Adobe Experience Manager
You are right. SQL-2 returns correct results. Thank youI'm acknowledged that everything except SQL-2 is deprecated. (Practice shows that sometimes XPath is much faster than SQL-2 and SQL-2 joins are really slow. But that's not a subject of our discussion)That is not our code. The initiator of this request is Siteadmin search. The complete sequence is: Siteadmin search functionality -> querybuilder request -> XPath queryIs it possible to make Siteadmin Search (Fulltext search) use SQL-2 instead o...

Views

873

Likes

0

Replies

0
Query returns obsolete results
Avatar

Stanleyor

Stanleyor
- Adobe Experience Manager
2 days ago I renamed some nodes on a production Author system. Now I've found out that a XPath query returns old paths results.For example a path /a/de_CH/c was renamed to /a/de_DE/c. Currently a XPath query returns /a/de_CH/c that does not exist anymoreInconsistency exists on Author where there are approximately 1 million pages. I don't want to reindex everything. I know which pages I renamed. Is it possible to reindex just part of a tree? CQ 5.6.1 (SP2)Thanks

Views

1.3K

Likes

0

Replies

4
OSGi prioritisation mechanism
Avatar

Stanleyor

Stanleyor
- Adobe Experience Manager
For example there are several services. One of services is very resource-intensive (makes high CPU load, IO). Respectively the service has big influence on the performance of other services. That is not acceptable because while resource-intensive background processing is taking place frontend-related services are very slow (users are waiting for pages). Is it possible to prioritise a bundle or a service in Felix context? Thanks

Views

695

Likes

0

Replies

1
Logs parsing
Avatar

Stanleyor

Stanleyor
- Adobe Experience Manager
I try to use https://code.google.com/p/otroslogviewer/ for CQ error.log parsing. For example here's one line output: 01.12.2014 00:10:06.593 *INFO* [jackrabbit-pool-2] org.apache.jackrabbit.core.query.lucene.IndexMerger merged 2 documents in 5 ms into _5yx.Mine pattern parser is:type=log4j pattern=TIMESTAMP LEVEL [THREAD] CLASS MESSAGE dateFormat=dd.MM.yyyy HH:mm:ss.SSS name=CQ Logs pattern charset=utf-8The problem is that wildcards are used for _ignoring_ "Note the * - it can be used to ignore ...

Views

619

Likes

0

Replies

0
Handling InvalidItemStateException
Avatar

Stanleyor

Stanleyor
- Adobe Experience Manager
According to the doc the sesion's save() method can throw InvalidItemStateException exception.It means that some item that was modified in current session also was modified from other thread and already saved. The transient space of the session cannot be savedThe quesion is what is a best practice in such case? Some code would be really appriciated. I cannot find any examples

Views

643

Likes

0

Replies

3
Add additional header field
Avatar

Stanleyor

Stanleyor
- Adobe Experience Manager
How to add additional response header field? For example the request looks like this:http://example.com/content/dam/examples/ex.pdf?I want to add: Content-Disposition: attachment It will force a browser to download file, not showing a file in a browserThanks

Views

1.8K

Likes

0

Replies

2
XPath query fails when "as" is a part of a path
Avatar

Stanleyor

Stanleyor
- Adobe Experience Manager
XPath query:/a/b/asthrows an error: {results: [ ],total: 0,success: false,time: 0,errorMessage: "Encountered "as" at line 1, column 16. Was expecting one of: ... ... ... ... " ... ... ... ... ... ... ... ... ... ... ... ... "$" ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... "*" ... ... ... "(" ... "@" ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... "." ... ".." ... ... "<" ... "<" ... " ... for statement: for $...

Views

647

Likes

0

Replies

1
SQL2 query PDF content
Avatar

Stanleyor

Stanleyor
- Adobe Experience Manager
What's an example of SQL-2 query for content of a PDF file that was uploaded to DAM?I've checked all nodes and properties but cannot find property with file's contentThanks in advance

Views

1.6K

Likes

0

Replies

3
Re: Siblings
Avatar

Stanleyor

Stanleyor
- Adobe Experience Manager
smacdonald2008 wrote...The JCR API does not support getSibiling(). That would be a good method for the API to have included.A workaround is to write a custom algorithm that calls getParent() and then get all the children of that parent. Then you can figure out the nodes under that parent thereby determining the siblings. A ....B.....C.....DTherefore if you wanted to find out the siblings of Node C - you can call getParent() and then that will return Node A. Then you can call getNodes() which wil...

Views

918

Likes

0

Replies

0
Re: Siblings
Avatar

Stanleyor

Stanleyor
- Adobe Experience Manager
Sham HC wrote...W.r.t live copy requirement it should maintain order. Which version of CQ & are you losings order within child page of live copy. It maintains the order, for example, for geometrix. In my case I have a site with 4000 pages and after live copy creation, the order of the pages in the live copy is wrong. I use 5.5 and the package cq-update-pkg-5.5.10.zip is installed. That is correct, the order within child pages of the live copy is different comparing to the blueprint.

Views

914

Likes

0

Replies

0