since ‎04-07-2014
Jul 07, 2020
Eric_Stricker
Level 2
Re: Access right for ServiceUer to Change users password Eric_Stricker - Adobe Experience Manager Forms
We did get around this. We are now using the build in user 'communities-user-admin' instead of our own service account. We do like to understand why our own account did not work. Most likely because we did not add our own service account to the 'user-administrators' group role which has probably a setting to allow changes to users&groups. Note: we still cannot add node/change node for the the build in 'admin' account. Most likely this is a protected account and only 'admin' user can change 'admi...
14
Views
0
Likes
0
Comments
AccountManagementService bug or not? Eric_Stricker - Adobe Experience Manager
[Re-post from: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-forms/accountmanagementservice-bug-or-not/qaq-p/366740/comment-id/4198#M4198] I was looking at the "AccountManagementService" as this function provide two nice features to validate users who can register themselves and it provide a feature to allow user to reset their own password. One point I want to understand is the host validation. The host name of the production server is not the same as the URL the ext...
20
Views
0
Likes
0
Answers and Comments
White labeling and shared Services Eric_Stricker - Adobe Experience Manager Forms
We have the following: Site ==> Invoke Servlets ==> Use Services (Through @reference annotation) ==> many internal services use a common configuration service ( @Designate(ocd) incorporated in a dedicate implementation service itself) Now we are asked to white label the site. (ie. change the logo, address, footer ...) but keep the functionality the same. The configuration OCD has references to file location of email templates, database connection parameters, templates, ... All these need to be r...
83
Views
0
Likes
1
Answers and Comments
Re: AccountManagementService bug or not? Eric_Stricker - Adobe Experience Manager Forms
@Mayank_Gandhi We already use the externalizer on the outgoing message, but the issue here is the validation when the user submit the result from the page after entering a new password. The customer face URL is a nice formatted URL, while the actual internal server URL inside the safe zone is a very different URL. The system will generate the ky value with the Externalizer generated URL while it validate the URL with the internal host name. This will never match in this case.
113
Views
0
Likes
0
Comments
Access right for ServiceUer to Change users password Eric_Stricker - Adobe Experience Manager Forms
I created a forget Password service for the user to reset his/her own password by sending a link to his email and providing a reset password page. Inside this service I use:session = resolver.adaptTo(Session.class);UserManager userMgr = resolver.adaptTo(UserManager.class);Authorizable a = userMgr.getAuthorizable(userid, User.class);User user = (User)userMgr.getAuthorizable(userid, User.class);user.changePassword(newPassword);session.save() The resolver here is a resourceResolver for a serviceUse...
140
Views
0
Likes
2
Answers and Comments
AccountManagementService bug or not? Eric_Stricker - Adobe Experience Manager Forms
I was looking at the "AccountManagementService" as this function provide two nice features to validate users who can register themselves and it provide a feature to allow user to reset their own password. One point I want to understand is the host validation. The host name of the production server is not the same as the URL the external customer is looking at. So for the generation of the email we call the service accountManagementService.requestPasswordReset with the hostname equal to the exter...
256
Views
0
Likes
3
Answers and Comments
Re: AEM User password policy Eric_Stricker - Adobe Experience Manager Forms
To add on, I came across this example that override the /j_security_check. We can look at this and adjust it accordingly to to implement our failed user count. Will try to do this in the coming days. https://helpx.adobe.com/experience-manager/using/twofactor64.html
940
Views
0
Likes
0
Comments
Re: AEM User password policy Eric_Stricker - Adobe Experience Manager Forms
Some additional comments for others 1. Password complexity: "Apache Jackrabbit Oak AuthorizableActionProvider" (https://jackrabbit.apache.org/oak/docs/security/user/authorizableaction.html) (http://www.sgaemsolutions.com/2019/10/how-to-set-password-policy-for-aem-users.html?m=1) 2. for AEM Form on JEE there is a feature to disable user after x number of failed login tries + second parameter to unlock the account automatically after y number of minutes)(https://docs.adobe.com/content/help/en/expe...
955
Views
0
Likes
0
Comments
Re: Adaptive Template-Type not showing for some projects Eric_Stricker - Adobe Experience Manager Forms
@Mayank_Gandhi, We are looking here at template-type, not the actual template. We are just trying to understand where the configuration setting to allow or disallow the use the template-types from "/libs/settings/wcm/template-types". We do understand we can copy the template-type from libs to conf folder as a workaround so we can use the adaptive template-type in our project, but why is it that conf template folder created through TouchUI do show the template-type from libs, while those created ...
734
Views
0
Likes
0
Comments
Re: core.js:647 Handler of component is invalid -> TypeError: Cannot read property 'flow' of undefined Eric_Stricker - Adobe Experience Manager Forms
Copy-past of the image text into plain text granite.js:259 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.structure.html:1 [DOM] Found 2 elements with non-unique id #editor-styleselector-form: (More info: https://goo.gl/9p2vKq)6core.js:647 Handler of component is invalid -> TypeError: Cannot read property 'flow' of undefinedat eval (eval at ns.util.sanitiz...
692
Views
0
Likes
0
Comments
Re: core.js:647 Handler of component is invalid -> TypeError: Cannot read property 'flow' of undefined Eric_Stricker - Adobe Experience Manager Forms
@Rakhi_Sukhadeve The issue is noticed in the browser when doing development. We normally use Chrome for development (Version 83.0.4103.97 (Official Build) (64-bit), this morning I tried Firefox and the issue does not occur in Firefox. I happen when you want to edit a template or adaptive form or site, just anything once you go into edit mode it will appear. Sometimes 1 error, sometimes 3, occasionally the error appears 5 times at one go.
695
Views
0
Likes
0
Comments
Re: AEM User password policy Eric_Stricker - Adobe Experience Manager Forms
@Mayank_Gandhi, thank you. Let me have a look and see if we can get the answers from there.
983
Views
0
Likes
0
Comments
AEM User password policy Eric_Stricker - Adobe Experience Manager Forms
AEM 6.5.4 -I was looking for a guide/ sample on User password management. Found reference to 6.1 and even 5.x version, some no longer available, is there something more current? 1. configuring the user password policya. Max age allowed for a passwordb. How many charactersc. Password Complexity rulesd. How often you can repeat your passworde. Disable user after x number of failed tries.... 2. Through servlets/models have back-end functions that will be called from our own site pagesa. Forgot my U...
1072
Views
0
Likes
4
Answers and Comments
Re: Adaptive Template-Type not showing for some projects Eric_Stricker - Adobe Experience Manager Forms
We did an additional test. In CRX/DE we copied one of the template types from "/libs/settings/wcm/template-types" to "/conf//settings/wcm/template-types". Now this template is appearing a a available template.
877
Views
0
Likes
0
Comments
Adaptive Template-Type not showing for some projects Eric_Stricker - Adobe Experience Manager Forms
AEM 6.5.4. When we want to create new templates, the system needs you to select a template-type. We notice that for some folders in /conf/ the template types showing up include the templates for adaptive forms that are taken from "/libs/settings/wcm/template-types". On the other hand for other projects these do not show as available template types. One observation is that folder that do not show the adaptive templates were all created through maven archetype 23 project, while if we use the AEM m...
890
Views
0
Likes
3
Answers and Comments
Adaptive Form Editable Templates - Where are the <head> <meta> tags Eric_Stricker - Adobe Experience Manager Forms
AEM Forms on OSGI 6.5.4. We are tracing where the the following meta tag originate from: /conf//settings/wcm/templates/ type "cq:Template" with jcr:content "cq:templateType" = "/libs/settings/wcm/template-types/afpage"under structure/jcr:content we find resourceType : "fd/af/components/page2/aftemplatedpage" In "fd/af/components/page2/aftemplatedpage" we see the resourceSuperType "wcm/foundation/components/page" AND object "aftemplatedpage.jsp". The system takes the "aftemplatedpage.jsp" and ren...
620
Views
0
Likes
1
Answers and Comments
core.js:647 Handler of component is invalid -> TypeError: Cannot read property 'flow' of undefined Eric_Stricker - Adobe Experience Manager Forms
Recently we see these errors coming up over and over again in Author when designer templates, forms, ... Any clue where this is coming from. core.js is not a script file we can read easily.
864
Views
0
Likes
3
Answers and Comments
Re: AEM 6.5.4 publish CommonResourceResolverFactoryImpl U... Eric_Stricker - Adobe Experience Manager
At the moment the issue is still unresolved. As it not affect any operation we ignore it, but it is still pending a resolution.
679
Views
0
Likes
0
Answers
Re: AEM SlingHttpServletResponse redirect external server Eric_Stricker - Adobe Experience Manager
Answer my own question. We use an IIS URL rewrite between the internet and Author. We found that IIS is the one updating the URL. Not AEM. Tested this by calling the server directly instead of using IIS URL Rewrite.
883
Views
2
Likes
0
Answers
AEM SlingHttpServletResponse redirect external server Eric_Stricker - Adobe Experience Manager
I have a simple servlet that upload a PDF to adobe esign and I manage to get a URL back. I now want to redirect the client to this URL. The actual URL is valid if I copy-paste it into a browser, but the AEM override the below URL from https://secure.na1.echosign.com/.....to https://my.aem.server.url/.... ==> Error "Resource at '/public/apiesign' not found How do i prevent this change in URL? @component(service=Servlet.class,property={"sling.servlet.methods=" + HttpConstants.METHOD_GET,"sling.ser...
1260
Views
0
Likes
1
Answers and Comments
Re: AEm 6.5 Adaptive Forms and Closed User Groups Eric_Stricker - Adobe Experience Manager Forms
Alternative we were thinking to override the default 401-403 pages. If unauthorized then redirect to our login page. Still need to experiment with this, but I though I seen something like that somewhere.
5427
Views
0
Likes
0
Comments
Re: AEM 6.5.4. Adaptive and FavIcon Eric_Stricker - Adobe Experience Manager Forms
One note for reference:Using /etc/designs//favicon.ico is 'old school'. We did update our code to '/etc.clientlibs//clientlibs/site/resources/favicon.ico' to be in line with the latest design recommendations(ps. do not forget allowProxy = true)
2066
Views
0
Likes
0
Comments
Re: AEm 6.5 Adaptive Forms and Closed User Groups Eric_Stricker - Adobe Experience Manager Forms
Thanks you. This is working, but how to you redirect to a login page. Did you customize the default 401-403 error pages to redirect to your login page?
1829
Views
0
Likes
0
Comments
Re: AEM 6.5 Forms XDP as HTML5 submit action "/content/xf... Eric_Stricker - Adobe Experience Manager Forms
@GirishBedekar Thank you for the reply. Not sure if this is still valid in AEM 6.5 as we do not have AEM JEE running and the servlet is not working without this. In the end we did found that we could manual configure the "submitServiceProxy" value for the xfaforms\profiles. This will will then override the default servlet The submitted data can then be transformed by our own servlet using LCFormsService to convert the JSON formDom to XML. Then we can invoke the submitURL and to do the task speci...
2527
Views
0
Likes
0
Comments
Re: AEM 6.5 Forms XDP as HTML5 submit action "/content/xf... Eric_Stricker - Adobe Experience Manager Forms
So Coming back to my original question. There is no out-of-the box solution for the default submit action of a HTML template without AEM JEE installed?
7508
Views
0
Likes
0
Comments
Re: AEM 6.5 Forms XDP as HTML5 submit action "/content/xf... Eric_Stricker - Adobe Experience Manager Forms
Adaptive template still require a XDP as a DOR. to give the form structure and context. So we still need to develop XDP's In this case the client already has interactive PDF documents that can be saved as XDP so we can deploy these quite quickly with only a submit button. Then we have time to convert each XDP to an adaptive form as this does require effort to convert the forms.
7517
Views
0
Likes
0
Comments
Re: AEm 6.5 Adaptive Forms and Closed User Groups Eric_Stricker - Adobe Experience Manager Forms
The final outcome will be a publish deployment for the form, not on author. Let us play around with it for a while. I do see that we might be able to put the "site" page on publish while the adaptive from is still on Author. Not sure if this will work but we will have a look at such a scenario.
6274
Views
0
Likes
0
Comments
Re: AEM 6.5 Forms XDP as HTML5 submit action "/content/xf... Eric_Stricker - Adobe Experience Manager Forms
We have not installed AEM JEE as we try to avoid another server for this. We are now looking in how adobe's out-of-the-box solution should work as we have no idea. We will build on Adobe's solution in this case. Be it a custom servlet, component or any other option.
7526
Views
0
Likes
0
Comments
Re: AEm 6.5 Adaptive Forms and Closed User Groups Eric_Stricker - Adobe Experience Manager Forms
Yes, but not really the best solution to create another layout of redirect. Will this be improved in upcoming versions?
6280
Views
0
Likes
0
Comments
Re: AEm 6.5 Adaptive Forms and Closed User Groups Eric_Stricker - Adobe Experience Manager Forms
I assume you mean this https://docs.adobe.com/content/help/en/experience-manager-65/forms/adaptive-forms-basic-authoring/embed-adaptive-form-aem-sites.html
6287
Views
0
Likes
0
Comments
Likes given to