<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: set password auto expiration in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/set-password-auto-expiration/m-p/36375#M15350</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Keep in mind that there are two nodes for each locally-maintained user. A cm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;erson node (which also exists for LDAP/AD synchronised users) which is accessed by most APIs, and the usr:user which contains the local authentication data (password + expiry). So be careful which of these two nodes you are accessing in your code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jan 2018 09:37:04 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2018-01-02T09:37:04Z</dc:date>
    <item>
      <title>set password auto expiration</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/set-password-auto-expiration/m-p/36372#M15347</link>
      <description>Hello everyone. I am trying to do something like - &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;All user passwords should expire every 90 days. &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Users should be forced to reset their expired passwords upon login to share with last password.anybody have any idea, how to do it ?thanks in advance.</description>
      <pubDate>Wed, 29 Nov 2017 11:03:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/set-password-auto-expiration/m-p/36372#M15347</guid>
      <dc:creator>monicakumari</dc:creator>
      <dc:date>2017-11-29T11:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: set password auto expiration</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/set-password-auto-expiration/m-p/36373#M15348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As always with any functionality that is not provided out-of-the-box you need to&amp;nbsp;do significant custom implementation to achieve this. Luckily, Alfresco already provides the Java-level API to manage, store and validate expiration dates on authentications. Whenever a user is created or a new password is set, you could use a policy / behaviour to automatically set the expiration date back to 90 days in the future.&lt;/P&gt;&lt;P&gt;With that in place, you'd "only" need to implement all the missing UI functionality, i.e. displaying&amp;nbsp;expiration reminders and handling the password change prompt. Unfortunately, since Alfresco is a web application, you cannot force users to change their password - I mean, you can force the dialog upon them, but they can always opt not to change the password by simply closing the browser, or they could use browser tools to hide / disable the popup.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 21:56:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/set-password-auto-expiration/m-p/36373#M15348</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-11-29T21:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: set password auto expiration</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/set-password-auto-expiration/m-p/36374#M15349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for your help. I have tried something -&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a behaviour to set a custom date(90 days from current date) to property ContentModel.PROP_CREDENTIALS_EXPIRY_DATE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Calendar now = Calendar.getInstance();&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;now.add(Calendar.DATE, 90);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;passwordExpiryDate = now.getTime();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nodeService.setProperty(nodeRef, ContentModel.PROP_CREDENTIALS_EXPIRY_DATE, passwordExpiryDate);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then trying to fetch this property just to check whether it is set or not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; logger.debug("PROP_CREDENTIALS_EXPIRY_DATE :&amp;nbsp; " + nodeService.getProperty(nodeRef, ContentModel.PROP_CREDENTIALS_EXPIRY_DATE));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is showing the correct value on console.&lt;/P&gt;&lt;P&gt;then, I have created a sceduler to run a .js file everyday to fetch this property. Its showing null.&lt;/P&gt;&lt;P&gt;not sure, why its showing null if the proprty is alredy set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then, to check this I did &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Calendar now = Calendar.getInstance();&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;now.add(Calendar.DATE, 90);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;passwordExpiryDate = now.getTime();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nodeService.setProperty(nodeRef, ContentModel.PROP_CREDENTIALS_EXPIRY_DATE, passwordExpiryDate);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to another java file (which triggers when a new user is created) and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;logger.debug("PROP_CREDENTIALS_EXPIRY_DATE :&amp;nbsp; " + nodeService.getProperty(nodeRef, ContentModel.PROP_CREDENTIALS_EXPIRY_DATE));&lt;/P&gt;&lt;P&gt;to the same behaviour.&lt;/P&gt;&lt;P&gt;now property PROP_CREDENTIALS_EXPIRY_DATE is setting while creating a new user, but when behaviour triggers, logs is showing NULL value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;don't know what mistake I am doing, whether&amp;nbsp; PROP_CREDENTIALS_EXPIRY_DATE&amp;nbsp; property can directly be used or not. If yes, then how.&lt;/P&gt;&lt;P&gt;could you please help me with this.&lt;/P&gt;&lt;P&gt;Please let know If there is another way to do it or this way is correct and I am making some mistake.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 08:47:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/set-password-auto-expiration/m-p/36374#M15349</guid>
      <dc:creator>monicakumari</dc:creator>
      <dc:date>2018-01-02T08:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: set password auto expiration</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/set-password-auto-expiration/m-p/36375#M15350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Keep in mind that there are two nodes for each locally-maintained user. A cm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;erson node (which also exists for LDAP/AD synchronised users) which is accessed by most APIs, and the usr:user which contains the local authentication data (password + expiry). So be careful which of these two nodes you are accessing in your code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 09:37:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/set-password-auto-expiration/m-p/36375#M15350</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-01-02T09:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: set password auto expiration</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/set-password-auto-expiration/m-p/36376#M15351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, thank you.. I have checked, the custom behaviour is having a user type nodeRef and the another class is having a person type nodeRef.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, How do I get the user type nodeRef from a person type nodeRef ? do you have any idea ? which API can help me to get this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 10:19:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/set-password-auto-expiration/m-p/36376#M15351</guid>
      <dc:creator>monicakumari</dc:creator>
      <dc:date>2018-01-02T10:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: set password auto expiration</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/set-password-auto-expiration/m-p/36377#M15352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks alot. I can see the correct values on node browser.&lt;/P&gt;&lt;P&gt;I need on more help. I am trying to fetch " usr:credentialsExpiryDate " property through javascript. but I am getting null in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;get-Details.js&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var user;&lt;BR /&gt;var nodes = people.getPeople(null);&lt;BR /&gt;for each(var node in nodes)&lt;BR /&gt;{ &lt;BR /&gt; logger.log(node); &lt;BR /&gt; user = utils.getNodeFromString(node); &lt;BR /&gt; logger.log(user.properties["cm:userName"] + " '" &lt;BR /&gt; + user.properties["cm:firstName"] + "' '" &lt;BR /&gt; + user.properties["usr:credentialsExpiryDate"] + "'"); &lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the other two properties are showing correct values on console. but usr:credentialsExpiryDate is showing null.&lt;/P&gt;&lt;P&gt;I think this is again the nodeRef issue.&lt;/P&gt;&lt;P&gt;do you have any idea how to fetch &lt;STRONG&gt;usr:credentialsExpiryDate &lt;/STRONG&gt;through javascript ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 13:10:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/set-password-auto-expiration/m-p/36377#M15352</guid>
      <dc:creator>monicakumari</dc:creator>
      <dc:date>2018-01-02T13:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: set password auto expiration</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/set-password-auto-expiration/m-p/36378#M15353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should&amp;nbsp;ideally never touch the node of type usr:user directly. There is MutableAuthenticationDao (bean "authenticationDao") which provides access to all you need, e.g. operations that take a user name as identifier and check / retrieve / set the expiration time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 13:13:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/set-password-auto-expiration/m-p/36378#M15353</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-01-02T13:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: set password auto expiration</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/set-password-auto-expiration/m-p/36379#M15354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for you help.. I dove done what I was trying to do. But I have a issue -&amp;nbsp; not exactly an issue but may be, it might create some issue .&lt;/P&gt;&lt;P&gt;I have created a behaviour "CheckPasswordExpiration.java" to set password expiration date and a scheduler to check the expiration date on daily basis. there was no issue till I created the scheduler.&amp;nbsp;&lt;/P&gt;&lt;P&gt;there&amp;nbsp; is an another seperate behaviour "GenerateEmails.java" which runs when a new user is created just to send mail notifications.&lt;/P&gt;&lt;P&gt;when I created the scheduler, a javascript file (to send email notification) and whenever it triggers, the another seperate behaviour "GenerateEmails.java" automatically triggers which is showing exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2018-01-05 14:35:00,439&amp;nbsp; ERROR [quartz.core.ErrorLogger] [DefaultScheduler_Worker-1] Job (jobGroup.jobD threw an exception.&lt;BR /&gt;&amp;nbsp;org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.error.AlfrescoRuntimeException: 00050016 Failed to execute transaction-level behaviour public abstract void org.alfresco.repo.node.NodeServicePolicies$OnCreateNodePolicy.onCreateNode(org.alfresco.service.cmr.repository.ChildAssociationRef) in transaction a187771c-4769-4d88-807c-f97f335913ce]&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.quartz.core.JobRunShell.run(JobRunShell.java:227)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)&lt;BR /&gt;Caused by: org.alfresco.error.AlfrescoRuntimeException: 00050016 Failed to execute transaction-level behaviour public abstract void org.alfresco.repo.node.NodeServicePolicies$OnCreateNodePolicy.onCreateNode(org.alfresco.service.cmr.repository.ChildAssociationRef) in transaction a187771c-4769-4d88-807c-f97f335913ce&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.alfresco.repo.policy.TransactionBehaviourQueue.execute(TransactionBehaviourQueue.java:255)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.alfresco.repo.policy.TransactionBehaviourQueue.beforeCommit(TransactionBehaviourQueue.java:134)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.alfresco.util.transaction.TransactionSupportUtil$TransactionSynchronizationImpl.doBeforeCommit(TransactionSupportUtil.java:535)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.alfresco.util.transaction.TransactionSupportUtil$TransactionSynchronizationImpl.doBeforeCommit(TransactionSupportUtil.java:514)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.alfresco.util.transaction.TransactionSupportUtil$TransactionSynchronizationImpl.beforeCommit(TransactionSupportUtil.java:479)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.springframework.transaction.support.TransactionSynchronizationUtils.triggerBeforeCommit(TransactionSynchronizationUtils.java:95)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:925)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:738)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:724)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:475)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java:482)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:479)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:326)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.alfresco.repo.action.scheduled.AbstractScheduledAction$JobDefinition$1.runTransactionalAction(AbstractScheduledAction.java:557)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.alfresco.repo.action.scheduled.AbstractScheduledAction$JobDefinition$1.doWork(AbstractScheduledAction.java:426)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.alfresco.repo.action.scheduled.AbstractScheduledAction$JobDefinition.execute(AbstractScheduledAction.java:392)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.quartz.core.JobRunShell.run(JobRunShell.java:216)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this behaviour must not trigger when this javascript run through scheduler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you have any idea, why this is happening. I can provide you any another information if you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 13:52:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/set-password-auto-expiration/m-p/36379#M15354</guid>
      <dc:creator>monicakumari</dc:creator>
      <dc:date>2018-01-05T13:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: set password auto expiration</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/set-password-auto-expiration/m-p/36380#M15355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am totally NOT a fan of transaction-level behaviours for precisely these kinds of issues that most people, who are not Alfresco experts, run into. I would assume your GenerateEmail.java behaviour is simply bound to an incorrect&amp;nbsp;policy (not just on create but also on update), or may not work with the specific authentication context (runAs some user X). Unfortunately, that log output (and lack of configuration XML for reference) is not enough to remote-guess the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 15:06:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/set-password-auto-expiration/m-p/36380#M15355</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-01-05T15:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: set password auto expiration</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/set-password-auto-expiration/m-p/36381#M15356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help and quick response. I really appriciate it.&lt;/P&gt;&lt;P&gt;Axel, I don't know which XML configuration is it.&lt;/P&gt;&lt;P&gt;These are all the files (attached)I have created. don't know why this is happening.&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PasswordExiration-notification.js -&lt;/STRONG&gt; scheduler javascript file to check password expiration on daily basis and send mail notifications.&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PasswordExpirationCheck.java -&lt;/STRONG&gt; this behaviour triggers when the password is updated or created a new user just to set password expiration true and the no. of days. &amp;nbsp; both the value will get from alfresco-global.properties file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;GenerateNewUserWelcomeEmail.java - &lt;/STRONG&gt;this was created to trigger when a new user is created. this behaviour is triggering automatically when the scheduler triggers. which must not and throwing some all those exceptions.&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sevice-context.xml&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;alfresco-global.properties file.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jan 2018 06:38:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/set-password-auto-expiration/m-p/36381#M15356</guid>
      <dc:creator>monicakumari</dc:creator>
      <dc:date>2018-01-06T06:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: set password auto expiration</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/set-password-auto-expiration/m-p/36382#M15357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, none of these files show how the password expiration JS is being registered /&amp;nbsp;triggered. So far, nothing provides any clues to what kind of OnCreateNode behaviour is being triggered or what the specific error is in that case. Judging from the Alfresco source code of&amp;nbsp;TransactionBehaviourQueue, you should have way more information in the log than you have provided so far, so maybe if you could also provide the full alfresco.log for that error, it could help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am&amp;nbsp;curious: How is that password expiration notification JS working, I mean doing the search.luceneSearch() on the Alfresco user store, when it is not indexed by default? Did you add extra cores to SOLR for that? Also, luceneSearch is a very old-school, legacy way to search and has not received any optimsiations since 4.0. Furthermore, processing ALL users in one JS action is quite a massive job - what if the process fails for a single user? Does it start over again, and send duplicate mails to all the users that have already been processed? You may also overwhelm the caches by processing too many users in a single transaction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jan 2018 16:30:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/set-password-auto-expiration/m-p/36382#M15357</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-01-06T16:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: set password auto expiration</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/set-password-auto-expiration/m-p/36383#M15358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The javascript file is running using scheduler(attached). currently javascript is working fine. I have tested multiple times with three users. the only issue is when the scheduler triggers, the onCreateNode behaviour(GenerateNewUsersMail.java) triggers automatically, which should not. This is not creating any impact but I think It may create issue in future. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 05:17:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/set-password-auto-expiration/m-p/36383#M15358</guid>
      <dc:creator>monicakumari</dc:creator>
      <dc:date>2018-01-08T05:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: set password auto expiration</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/set-password-auto-expiration/m-p/36384#M15359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Axel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you were correct. I was able to do it with sdk 2.2, but not able to search user properties (prefix : usr) with latest sdk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting exceptions :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;Failed to execute search: @usr\:username:*&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Caused by: org.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 00240096 No solr query support for store user://alfrescoUserStore&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you please help me with the other way to search users instead of &lt;STRONG&gt;search.luceneSearch("user://alfrescoUserStore", "@usr\\:username:\*");&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I need the user properties from user node.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 10:22:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/set-password-auto-expiration/m-p/36384#M15359</guid>
      <dc:creator>monicakumari</dc:creator>
      <dc:date>2018-01-24T10:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: set password auto expiration</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/set-password-auto-expiration/m-p/36385#M15360</link>
      <description>&lt;P&gt;this worked..&lt;/P&gt;&lt;PRE&gt;var userNodeQuery = "TYPE:\"usr:user\"";
	var userNodeQueryDef = {
		       query: userNodeQuery ,
		       language: "fts-alfresco" ,
			   store: "user://alfrescoUserStore"
		};
	
	userNodes = search.query(userNodeQueryDef);&lt;/PRE&gt;</description>
      <pubDate>Tue, 01 Oct 2019 06:35:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/set-password-auto-expiration/m-p/36385#M15360</guid>
      <dc:creator>monicakumari</dc:creator>
      <dc:date>2019-10-01T06:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: set password auto expiration</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/set-password-auto-expiration/m-p/36386#M15361</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;"Good day.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;I am interested in implementing a feature for &lt;STRONG&gt;password auto-expiration&lt;/STRONG&gt; within &lt;STRONG&gt;Alfresco.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/38331"&gt;@monicakumari&lt;/A&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;this worked..&lt;/P&gt;&lt;PRE&gt;var userNodeQuery = "TYPE:\"usr:user\"";
	var userNodeQueryDef = {
		       query: userNodeQuery ,
		       language: "fts-alfresco" ,
			   store: "user://alfrescoUserStore"
		};
	
	userNodes = search.query(userNodeQueryDef);&lt;/PRE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;This feature would prompt users to change their passwords after a &lt;STRONG&gt;period of 60 days&lt;/STRONG&gt;. Could you please provide guidance on how to implement this functionality? &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 07:00:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/set-password-auto-expiration/m-p/36386#M15361</guid>
      <dc:creator>shivananda_L</dc:creator>
      <dc:date>2024-04-10T07:00:40Z</dc:date>
    </item>
  </channel>
</rss>

