You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Nithin P <ni...@yobitel.com> on 2023/10/04 07:43:56 UTC

password Configuration in scource code Regards

I am looking to implement a feature that auto-generates a password every time instead of using the default password for administrator login. In pursuit of this, I have been delving into the source code of Apache OFBiz to identify the configuration file associated with the admin password. Could you kindly provide assistance in identifying the location of the admin password configuration files within the Apache OFBiz application?
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. You cannot use or forward any attachments in the email. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. Finally, the opinions disclosed by the sender do not have to reflect those of the company, therefore the company refuses to take any liability for the damage caused by the content of this email. Yobitel Communications Limited,  #11, Kingsley Mews, Ley Street, Ilford, London - IG1 4BT, United Kingdom.   www.yobitel.com


Re: password Configuration in scource code Regards

Posted by Daniel Watford <da...@foomoo.co.uk>.
Did you look at the script I referred you to?

It already handles the encryption you need to apply to the admin password
you want to use.

On Wed, 4 Oct 2023 at 11:14, Nithin P <ni...@yobitel.com> wrote:

> -having this issue while changing the admin password on this
> path ofbiz-framework/framework/security/data
>
>
>
> /PasswordSecurityDemoData.xml
>
>
>
> The Following Errors Occurred:
>
> ERROR:
> the following error occurred during login: The account for user login ID
> "admin" has been disabled. since 2023-10-04 09:53:34.191. It will be
> re-enabled on 2023-10-04 09:58:34.191.
>
>
>
> I am grateful for your kind assistance and guidance.
>
> Best regards,
>
> Nithin P
>
>
>
> ---- On Wed, 04 Oct 2023 13:59:11 +0530 Jacques Le Roux <
> jacques.le.roux@les7arts.com> wrote ---
>
>
>
> Here you go:
> https://github.com/apache/ofbiz-framework/blob/trunk/framework/security/data/PasswordSecurityDemoData.xml
>
> Le 04/10/2023 à 09:43, Nithin P a écrit :
> > I am looking to implement a feature that auto-generates a password every
> time instead of using the default password for administrator login. In
> pursuit of this, I have been delving into the source code of Apache OFBiz
> to identify the configuration file associated with the admin password.
> Could you kindly provide assistance in identifying the location of the
> admin password configuration files within the Apache OFBiz application?
> > This message contains confidential information and is intended only for
> the individual named. If you are not the named addressee you should not
> disseminate, distribute or copy this e-mail. You cannot use or forward any
> attachments in the email. Please notify the sender immediately by e-mail if
> you have received this e-mail by mistake and delete this e-mail from your
> system. Finally, the opinions disclosed by the sender do not have to
> reflect those of the company, therefore the company refuses to take any
> liability for the damage caused by the content of this email. Yobitel
> Communications Limited,  #11, Kingsley Mews, Ley Street, Ilford, London -
> IG1 4BT, United Kingdom.   www.yobitel.com
> >
> This message contains confidential information and is intended only for
> the individual named. If you are not the named addressee you should not
> disseminate, distribute or copy this e-mail. You cannot use or forward any
> attachments in the email. Please notify the sender immediately by e-mail if
> you have received this e-mail by mistake and delete this e-mail from your
> system. Finally, the opinions disclosed by the sender do not have to
> reflect those of the company, therefore the company refuses to take any
> liability for the damage caused by the content of this email. Yobitel
> Communications Limited,  #11, Kingsley Mews, Ley Street, Ilford, London -
> IG1 4BT, United Kingdom.   www.yobitel.com
>
>

-- 
Daniel Watford

Re: password Configuration in scource code Regards

Posted by Giulio Speri - MpStyle Srl <gi...@mpstyle.it>.
Good morning Nithin,

I just add a couple of things: by default Ofbiz disables a user account
after 3 failed login attempts for 5 minutes.
You can find those configurations in
framework/security/conf/security.properties .
In this file you can also find properties to change the pattern and
min-lenght a password must have.
This is valid for all user accounts, admin e not admin.

Regards,
Giulio

On Wed, Oct 4, 2023, 12:14 Nithin P <ni...@yobitel.com> wrote:

> -having this issue while changing the admin password on this
> path ofbiz-framework/framework/security/data
>
>
>
> /PasswordSecurityDemoData.xml
>
>
>
> The Following Errors Occurred:
>
> ERROR:
> the following error occurred during login: The account for user login ID
> "admin" has been disabled. since 2023-10-04 09:53:34.191. It will be
> re-enabled on 2023-10-04 09:58:34.191.
>
>
>
> I am grateful for your kind assistance and guidance.
>
> Best regards,
>
> Nithin P
>
>
>
> ---- On Wed, 04 Oct 2023 13:59:11 +0530 Jacques Le Roux <
> jacques.le.roux@les7arts.com> wrote ---
>
>
>
> Here you go:
> https://github.com/apache/ofbiz-framework/blob/trunk/framework/security/data/PasswordSecurityDemoData.xml
>
> Le 04/10/2023 à 09:43, Nithin P a écrit :
> > I am looking to implement a feature that auto-generates a password every
> time instead of using the default password for administrator login. In
> pursuit of this, I have been delving into the source code of Apache OFBiz
> to identify the configuration file associated with the admin password.
> Could you kindly provide assistance in identifying the location of the
> admin password configuration files within the Apache OFBiz application?
> > This message contains confidential information and is intended only for
> the individual named. If you are not the named addressee you should not
> disseminate, distribute or copy this e-mail. You cannot use or forward any
> attachments in the email. Please notify the sender immediately by e-mail if
> you have received this e-mail by mistake and delete this e-mail from your
> system. Finally, the opinions disclosed by the sender do not have to
> reflect those of the company, therefore the company refuses to take any
> liability for the damage caused by the content of this email. Yobitel
> Communications Limited,  #11, Kingsley Mews, Ley Street, Ilford, London -
> IG1 4BT, United Kingdom.   www.yobitel.com
> >
> This message contains confidential information and is intended only for
> the individual named. If you are not the named addressee you should not
> disseminate, distribute or copy this e-mail. You cannot use or forward any
> attachments in the email. Please notify the sender immediately by e-mail if
> you have received this e-mail by mistake and delete this e-mail from your
> system. Finally, the opinions disclosed by the sender do not have to
> reflect those of the company, therefore the company refuses to take any
> liability for the damage caused by the content of this email. Yobitel
> Communications Limited,  #11, Kingsley Mews, Ley Street, Ilford, London -
> IG1 4BT, United Kingdom.   www.yobitel.com
>
>

Re: password Configuration in scource code Regards

Posted by Nithin P <ni...@yobitel.com>.
-having this issue while changing the admin password on this path ofbiz-framework/framework/security/data



/PasswordSecurityDemoData.xml



The Following Errors Occurred: 

ERROR:
the following error occurred during login: The account for user login ID "admin" has been disabled. since 2023-10-04 09:53:34.191. It will be re-enabled on 2023-10-04 09:58:34.191.



I am grateful for your kind assistance and guidance. 

Best regards,

Nithin P



---- On Wed, 04 Oct 2023 13:59:11 +0530 Jacques Le Roux <ja...@les7arts.com> wrote ---



Here you go: https://github.com/apache/ofbiz-framework/blob/trunk/framework/security/data/PasswordSecurityDemoData.xml 
 
Le 04/10/2023 à 09:43, Nithin P a écrit : 
> I am looking to implement a feature that auto-generates a password every time instead of using the default password for administrator login. In pursuit of this, I have been delving into the source code of Apache OFBiz to identify the configuration file associated with the admin password. Could you kindly provide assistance in identifying the location of the admin password configuration files within the Apache OFBiz application? 
> This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. You cannot use or forward any attachments in the email. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. Finally, the opinions disclosed by the sender do not have to reflect those of the company, therefore the company refuses to take any liability for the damage caused by the content of this email. Yobitel Communications Limited,  #11, Kingsley Mews, Ley Street, Ilford, London - IG1 4BT, United Kingdom.   www.yobitel.com 
>
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. You cannot use or forward any attachments in the email. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. Finally, the opinions disclosed by the sender do not have to reflect those of the company, therefore the company refuses to take any liability for the damage caused by the content of this email. Yobitel Communications Limited,  #11, Kingsley Mews, Ley Street, Ilford, London - IG1 4BT, United Kingdom.   www.yobitel.com


Re: password Configuration in scource code Regards

Posted by Jacques Le Roux <ja...@les7arts.com>.
Here you go: https://github.com/apache/ofbiz-framework/blob/trunk/framework/security/data/PasswordSecurityDemoData.xml

Le 04/10/2023 à 09:43, Nithin P a écrit :
> I am looking to implement a feature that auto-generates a password every time instead of using the default password for administrator login. In pursuit of this, I have been delving into the source code of Apache OFBiz to identify the configuration file associated with the admin password. Could you kindly provide assistance in identifying the location of the admin password configuration files within the Apache OFBiz application?
> This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. You cannot use or forward any attachments in the email. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. Finally, the opinions disclosed by the sender do not have to reflect those of the company, therefore the company refuses to take any liability for the damage caused by the content of this email. Yobitel Communications Limited,  #11, Kingsley Mews, Ley Street, Ilford, London - IG1 4BT, United Kingdom.   www.yobitel.com
>