[jira] [Updated] (OFBIZ-8537) LoginWorker HashCrypt the type of hash for one-way encryption

2016-12-06 Thread wangjunyuan (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-8537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

wangjunyuan updated OFBIZ-8537:
---
Attachment: (was: HashCrypt_new.patch)

> LoginWorker HashCrypt the type of hash for one-way encryption
> -
>
> Key: OFBIZ-8537
> URL: https://issues.apache.org/jira/browse/OFBIZ-8537
> Project: OFBiz
>  Issue Type: New Feature
>  Components: framework
>Affects Versions: Trunk
>Reporter: wangjunyuan
>Assignee: Shi Jinghai
>Priority: Minor
>  Labels: HashCrypt, PBKDF2, security.properties
> Attachments: HashCrypt.patch, HashCrypt_new.patch
>
>
> PBKDF2 (Password-Based Key Derivation Function 2) is part of RSA 
> Laboratories' Public-Key Cryptography Standards (PKCS) series, specifically 
> PKCS #5 v2.0, also published as Internet Engineering Task Force's RFC 2898. 
> It replaces an earlier key derivation function, PBKDF1, which could only 
> produce derived keys up to 160 bits long.Add this function to ofbiz ,this 
> PBKDF2 has four types in 
> Java:'PBKDF2WithHmacSHA1','PBKDF2WithHmacSHA256','PBKDF2WithHmacSHA384','PBKDF2WithHmacSHA512'



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-8537) LoginWorker HashCrypt the type of hash for one-way encryption

2016-12-06 Thread wangjunyuan (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-8537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

wangjunyuan updated OFBIZ-8537:
---
Attachment: HashCrypt_new.patch

> LoginWorker HashCrypt the type of hash for one-way encryption
> -
>
> Key: OFBIZ-8537
> URL: https://issues.apache.org/jira/browse/OFBIZ-8537
> Project: OFBiz
>  Issue Type: New Feature
>  Components: framework
>Affects Versions: Trunk
>Reporter: wangjunyuan
>Assignee: Shi Jinghai
>Priority: Minor
>  Labels: HashCrypt, PBKDF2, security.properties
> Attachments: HashCrypt.patch, HashCrypt_new.patch
>
>
> PBKDF2 (Password-Based Key Derivation Function 2) is part of RSA 
> Laboratories' Public-Key Cryptography Standards (PKCS) series, specifically 
> PKCS #5 v2.0, also published as Internet Engineering Task Force's RFC 2898. 
> It replaces an earlier key derivation function, PBKDF1, which could only 
> produce derived keys up to 160 bits long.Add this function to ofbiz ,this 
> PBKDF2 has four types in 
> Java:'PBKDF2WithHmacSHA1','PBKDF2WithHmacSHA256','PBKDF2WithHmacSHA384','PBKDF2WithHmacSHA512'



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-8537) LoginWorker HashCrypt the type of hash for one-way encryption

2016-12-06 Thread wangjunyuan (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-8537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

wangjunyuan updated OFBIZ-8537:
---
Attachment: HashCrypt_new.patch

there two modification in this new patch ,one is the fromat of password has 
been modified to '{PBKDF2}$$',other one is that i changed back flexadmin's password and added four 
examples of PBKDF2. 

> LoginWorker HashCrypt the type of hash for one-way encryption
> -
>
> Key: OFBIZ-8537
> URL: https://issues.apache.org/jira/browse/OFBIZ-8537
> Project: OFBiz
>  Issue Type: New Feature
>  Components: framework
>Affects Versions: Trunk
>Reporter: wangjunyuan
>Assignee: Shi Jinghai
>Priority: Minor
>  Labels: HashCrypt, PBKDF2, security.properties
> Attachments: HashCrypt.patch, HashCrypt_new.patch
>
>
> PBKDF2 (Password-Based Key Derivation Function 2) is part of RSA 
> Laboratories' Public-Key Cryptography Standards (PKCS) series, specifically 
> PKCS #5 v2.0, also published as Internet Engineering Task Force's RFC 2898. 
> It replaces an earlier key derivation function, PBKDF1, which could only 
> produce derived keys up to 160 bits long.Add this function to ofbiz ,this 
> PBKDF2 has four types in 
> Java:'PBKDF2WithHmacSHA1','PBKDF2WithHmacSHA256','PBKDF2WithHmacSHA384','PBKDF2WithHmacSHA512'



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-7061) Autocompletion for Compound Widget

2016-12-06 Thread Jacopo Cappellato (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-7061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15726400#comment-15726400
 ] 

Jacopo Cappellato commented on OFBIZ-7061:
--

It is annoying that because of the disordered way in which this task has been 
managed we have lost the history of changes to most of the OFBiz widget xsd 
files: thru a series of commits files like widget-screen.xsd have been copied 
and renamed (without using the svn copy command) then the originals have been 
deleted, then their copies have been renamed back to the original names.


> Autocompletion for Compound Widget
> --
>
> Key: OFBIZ-7061
> URL: https://issues.apache.org/jira/browse/OFBIZ-7061
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Trunk
>Reporter: james yong
>Assignee: Jacques Le Roux
>Priority: Minor
> Fix For: 16.11.01
>
> Attachments: OFBIZ-7061-minilang-schema.patch, OFBIZ-7061.patch, 
> OFBIZ-7061.patch, OFBIZ-7061.patch
>
>
> I am trying to enable auto-completion when coding compound widget.
> My plan as follows:
> 1. The following xsd will be modified to use namespace
> site-conf.xsd
> widget-form.xsd
> widget-screen.xsd
> widget-menu.xsd
> simple-methods.xsd
> For example, in site-conf.xsd, we add the following document level attribute
> {code}
> xmlns="http://ofbiz.apache.org/sc; 
> targetNamespace="http://ofbiz.apache.org/sc;
> {code}
> 2. Import the above schema into compound-widgets.xsd so that compound widgets 
> use only one consolidated schema. 
> 3. Update ExampleCompoundWidgets.xml to use the new compound-widgets.xsd. For 
> example
> {code}
> http://www.w3.org/2001/XMLSchema-instance; 
> xmlns:sc="http://ofbiz.apache.org/sc;
> xmlns:m="http://ofbiz.apache.org/m;
> xmlns:s="http://ofbiz.apache.org/s;
> xmlns:f="http://ofbiz.apache.org/f;
> xmlns:sm="http://ofbiz.apache.org/sm;
> 
> xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/compound-widgets.xsd;>
> 
> 
> 
>  path="component://example/widget/example/ExampleCompoundWidgets.xml"/>
> 
> 
>  auth="true"/> value="CompoundWidgets2"/>
> 
>  page="component://example/widget/example/ExampleCompoundWidgets.xml#CompoundWidgets1"/>
>  page="component://example/widget/example/ExampleCompoundWidgets.xml#CompoundWidgets2"/>
> 
> .. the rest
> {code}
> 4. Change java code to support reading xml with namespace (i.e. xml for 
> compound widgets)
> 5. Update the attributes at document level for rest of the controllers, 
> menus, forms, simple methods and screens. Current setting will not work for 
> schema with a namespace. For example, in controller.xml, we will change 
> {code}
> xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/site-conf.xsd”
> {code} 
> to 
> {code}
> xmlns="http://ofbiz.apache.org/sc” 
> xsi:schemaLocation="http://ofbiz.apache.org/dtds/site-conf-ns.xsd”>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-8537) LoginWorker HashCrypt the type of hash for one-way encryption

2016-12-06 Thread Michael Brohl (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-8537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15725729#comment-15725729
 ] 

Michael Brohl commented on OFBIZ-8537:
--

Thanks, [~shi.jinghai]!

> LoginWorker HashCrypt the type of hash for one-way encryption
> -
>
> Key: OFBIZ-8537
> URL: https://issues.apache.org/jira/browse/OFBIZ-8537
> Project: OFBiz
>  Issue Type: New Feature
>  Components: framework
>Affects Versions: Trunk
>Reporter: wangjunyuan
>Assignee: Shi Jinghai
>Priority: Minor
>  Labels: HashCrypt, PBKDF2, security.properties
> Attachments: HashCrypt.patch
>
>
> PBKDF2 (Password-Based Key Derivation Function 2) is part of RSA 
> Laboratories' Public-Key Cryptography Standards (PKCS) series, specifically 
> PKCS #5 v2.0, also published as Internet Engineering Task Force's RFC 2898. 
> It replaces an earlier key derivation function, PBKDF1, which could only 
> produce derived keys up to 160 bits long.Add this function to ofbiz ,this 
> PBKDF2 has four types in 
> Java:'PBKDF2WithHmacSHA1','PBKDF2WithHmacSHA256','PBKDF2WithHmacSHA384','PBKDF2WithHmacSHA512'



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-8537) LoginWorker HashCrypt the type of hash for one-way encryption

2016-12-06 Thread Shi Jinghai (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-8537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15725615#comment-15725615
 ] 

Shi Jinghai commented on OFBIZ-8537:


Hi Michael,

I have reverted the framework/security/data/PasswordSecurityDemoData.xml.

Kind Regards,

> LoginWorker HashCrypt the type of hash for one-way encryption
> -
>
> Key: OFBIZ-8537
> URL: https://issues.apache.org/jira/browse/OFBIZ-8537
> Project: OFBiz
>  Issue Type: New Feature
>  Components: framework
>Affects Versions: Trunk
>Reporter: wangjunyuan
>Assignee: Shi Jinghai
>Priority: Minor
>  Labels: HashCrypt, PBKDF2, security.properties
> Attachments: HashCrypt.patch
>
>
> PBKDF2 (Password-Based Key Derivation Function 2) is part of RSA 
> Laboratories' Public-Key Cryptography Standards (PKCS) series, specifically 
> PKCS #5 v2.0, also published as Internet Engineering Task Force's RFC 2898. 
> It replaces an earlier key derivation function, PBKDF1, which could only 
> produce derived keys up to 160 bits long.Add this function to ofbiz ,this 
> PBKDF2 has four types in 
> Java:'PBKDF2WithHmacSHA1','PBKDF2WithHmacSHA256','PBKDF2WithHmacSHA384','PBKDF2WithHmacSHA512'



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Reopened] (OFBIZ-8929) OFBIZ-7520: Consistency and Readability improvements for log tag

2016-12-06 Thread Deepak Dixit (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-8929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deepak Dixit reopened OFBIZ-8929:
-
  Assignee: Divesh Dutta

Reopen due to OFBIZ-9114


> OFBIZ-7520: Consistency and Readability improvements for log tag
> 
>
> Key: OFBIZ-8929
> URL: https://issues.apache.org/jira/browse/OFBIZ-8929
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Reporter: Anuj Jain
>Assignee: Divesh Dutta
>Priority: Minor
> Attachments: OFBIZ-8929.patch
>
>
> Code written in Minilang for the if-compare tag is not consistent throughout 
> the application. The correct pattern to write
> 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Reopened] (OFBIZ-8930) OFBIZ-7520: Consistency and Readability improvements for option (form widget) tag

2016-12-06 Thread Deepak Dixit (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-8930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deepak Dixit reopened OFBIZ-8930:
-
  Assignee: Divesh Dutta

Reopen due to OFBIZ-9114


> OFBIZ-7520: Consistency and Readability improvements for option (form widget) 
> tag
> -
>
> Key: OFBIZ-8930
> URL: https://issues.apache.org/jira/browse/OFBIZ-8930
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Reporter: Anuj Jain
>Assignee: Divesh Dutta
>Priority: Minor
> Attachments: OFBIZ-8930.patch
>
>
> Code written in Minilang for the if-compare tag is not consistent throughout 
> the application. The correct pattern to write
> 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Comment Edited] (OFBIZ-9114) Many reversed key and description of drop-down in the code

2016-12-06 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-9114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15725362#comment-15725362
 ] 

Deepak Dixit edited comment on OFBIZ-9114 at 12/6/16 12:46 PM:
---

This has been fixed at 
Trunk at r#1772880
16.11 at r#1772885
reverted commit 1768222 to fix this issue. Its very hard to fix this one by one 
so reverted whole commit as its an major issue.

Thanks Wai for reporting this issue. 


was (Author: deepak.dixit):
This has been fixed at r#1772880, reverted commit 1768222 to fix this issue. 
Its very hard to fix this one by one so reverted whole commit as its an major 
issue.

Thanks Wai for reporting this issue. 

> Many reversed key and description of drop-down in the code
> --
>
> Key: OFBIZ-9114
> URL: https://issues.apache.org/jira/browse/OFBIZ-9114
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Trunk
>Reporter: Wei Zhang
>Assignee: Deepak Dixit
> Fix For: 16.11.01, Upcoming Release
>
>
> Hi Divesh,
> I found there many reversed key and description of drop-down in your commits. 
> Please seach 

[jira] [Closed] (OFBIZ-8337) Refactor and simplify the startup sequence in OFBiz

2016-12-06 Thread Taher Alkhateeb (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-8337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Taher Alkhateeb closed OFBIZ-8337.
--
   Resolution: Fixed
Fix Version/s: Upcoming Release

Although other containers still require substantial refactoring, I believe the 
objective of refactoring the startup sequence is mostly complete now. The other 
containers represent code that is considered a "feature" more than a startup 
logic (entity engine, service engine, etc ...). Hence, refactoring those is 
better done in a separate task

> Refactor and simplify the startup sequence in OFBiz
> ---
>
> Key: OFBIZ-8337
> URL: https://issues.apache.org/jira/browse/OFBIZ-8337
> Project: OFBiz
>  Issue Type: Improvement
>  Components: base, start
>Affects Versions: Upcoming Release
>Reporter: Taher Alkhateeb
>Assignee: Taher Alkhateeb
>Priority: Minor
> Fix For: Upcoming Release
>
> Attachments: OFBIZ-8337-2.patch, OFBIZ-8337-3.patch, 
> OFBIZ-8337-3.patch, OFBIZ-8337.patch
>
>
> The startup sequence in OFBiz is highly complex and requires improvements on 
> multiple levels including:
> - The entire classpath buildup logic and 
> org.apache.ofbiz.base.start.Classpath needs to be removed. The original idea 
> of classpath isolation between the components created many more problems than 
> it solved, and right now the classpath construction is the responsibility of 
> the build system.
> - The custom classloader needs to be removed as well together with the 
> classpath mentioned above.
> - The StartupLoader interface should remove the start() method and just have 
> two methods, load and unload.
> - The startup sequence should have only one StartupLoader, not an array of 
> startup loaders. This StartupLoader (implemented as ContainerLoader) is the 
> only class responsible for bootstrapping OFBiz
> - The ContainerLoader needs to be completely refactored, not only to remove 
> the start() method but also to cleanup the very messy logic currently 
> residing there.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Reopened] (OFBIZ-8986) OFBIZ-7520: Consistency and Readability improvements for make-value tag

2016-12-06 Thread Deepak Dixit (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-8986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deepak Dixit reopened OFBIZ-8986:
-

Reopen due to OFBIZ-9114

> OFBIZ-7520: Consistency and Readability improvements for make-value tag
> ---
>
> Key: OFBIZ-8986
> URL: https://issues.apache.org/jira/browse/OFBIZ-8986
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Reporter: Ankush Upadhyay
>Assignee: Ankush Upadhyay
> Attachments: OFBIZ-8986.patch
>
>
> Code written in Minilang for the entity-one tag is not consistent throughout 
> the application. The correct pattern to write is
> 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Reopened] (OFBIZ-8965) OFBIZ-7520: Consistency and Readability improvements for event tag (controller.xml)

2016-12-06 Thread Deepak Dixit (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-8965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deepak Dixit reopened OFBIZ-8965:
-

Reopen due to OFBIZ-9114

> OFBIZ-7520: Consistency and Readability improvements for event tag 
> (controller.xml)
> ---
>
> Key: OFBIZ-8965
> URL: https://issues.apache.org/jira/browse/OFBIZ-8965
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Reporter: Ankush Upadhyay
>Assignee: Ankush Upadhyay
> Attachments: OFBIZ-8965.patch
>
>
> Code written in Minilang for the if-compare tag is not consistent throughout 
> the application. The correct pattern to write is
> 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Reopened] (OFBIZ-8953) OFBIZ-7520: Consistency and Readability improvements for call-service tag

2016-12-06 Thread Deepak Dixit (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-8953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deepak Dixit reopened OFBIZ-8953:
-

Reopen due to OFBIZ-9114

> OFBIZ-7520: Consistency and Readability improvements for call-service tag
> -
>
> Key: OFBIZ-8953
> URL: https://issues.apache.org/jira/browse/OFBIZ-8953
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Reporter: Ankush Upadhyay
>Assignee: Ankush Upadhyay
> Attachments: OFBIZ-8953.patch
>
>
> Code written in Minilang for the if-compare tag is not consistent throughout 
> the application. The correct pattern to write:
> 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Reopened] (OFBIZ-8972) OFBIZ-7520: Consistency and Readability improvements for include-menu tag

2016-12-06 Thread Deepak Dixit (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-8972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deepak Dixit reopened OFBIZ-8972:
-

Reopen due to OFBIZ-9114

> OFBIZ-7520: Consistency and Readability improvements for include-menu tag
> -
>
> Key: OFBIZ-8972
> URL: https://issues.apache.org/jira/browse/OFBIZ-8972
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Reporter: Ankush Upadhyay
>Assignee: Ankush Upadhyay
> Attachments: OFBIZ-8972.patch
>
>
> Code written in Minilang for the if-compare tag is not consistent throughout 
> the application. The correct pattern to write is
>  location="component://marketing/widget/sfa/SfaMenus.xml"/>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-9114) Many reversed key and description of drop-down in the code

2016-12-06 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-9114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15725362#comment-15725362
 ] 

Deepak Dixit commented on OFBIZ-9114:
-

This has been fixed at r#1772880, reverted commit 1768222 to fix this issue. 
Its very hard to fix this one by one so reverted whole commit as its an major 
issue.

Thanks Wai for reporting this issue. 

> Many reversed key and description of drop-down in the code
> --
>
> Key: OFBIZ-9114
> URL: https://issues.apache.org/jira/browse/OFBIZ-9114
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Trunk
>Reporter: Wei Zhang
>Assignee: Deepak Dixit
> Fix For: 16.11.01, Upcoming Release
>
>
> Hi Divesh,
> I found there many reversed key and description of drop-down in your commits. 
> Please seach 

[jira] [Closed] (OFBIZ-9114) Many reversed key and description of drop-down in the code

2016-12-06 Thread Deepak Dixit (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-9114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deepak Dixit closed OFBIZ-9114.
---
   Resolution: Fixed
Fix Version/s: 16.11.01
   Upcoming Release

> Many reversed key and description of drop-down in the code
> --
>
> Key: OFBIZ-9114
> URL: https://issues.apache.org/jira/browse/OFBIZ-9114
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Trunk
>Reporter: Wei Zhang
>Assignee: Deepak Dixit
> Fix For: Upcoming Release, 16.11.01
>
>
> Hi Divesh,
> I found there many reversed key and description of drop-down in your commits. 
> Please seach 

[jira] [Assigned] (OFBIZ-9114) Many reversed key and description of drop-down in the code

2016-12-06 Thread Deepak Dixit (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-9114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deepak Dixit reassigned OFBIZ-9114:
---

Assignee: Deepak Dixit  (was: Divesh Dutta)

> Many reversed key and description of drop-down in the code
> --
>
> Key: OFBIZ-9114
> URL: https://issues.apache.org/jira/browse/OFBIZ-9114
> Project: OFBiz
>  Issue Type: Bug
>Affects Versions: Trunk
>Reporter: Wei Zhang
>Assignee: Deepak Dixit
>
> Hi Divesh,
> I found there many reversed key and description of drop-down in your commits. 
> Please seach 

[jira] [Commented] (OFBIZ-8337) Refactor and simplify the startup sequence in OFBiz

2016-12-06 Thread Taher Alkhateeb (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-8337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15725350#comment-15725350
 ] 

Taher Alkhateeb commented on OFBIZ-8337:


Committed latest patch with minor rework in r1772879

> Refactor and simplify the startup sequence in OFBiz
> ---
>
> Key: OFBIZ-8337
> URL: https://issues.apache.org/jira/browse/OFBIZ-8337
> Project: OFBiz
>  Issue Type: Improvement
>  Components: base, start
>Affects Versions: Upcoming Release
>Reporter: Taher Alkhateeb
>Assignee: Taher Alkhateeb
>Priority: Minor
> Attachments: OFBIZ-8337-2.patch, OFBIZ-8337-3.patch, 
> OFBIZ-8337-3.patch, OFBIZ-8337.patch
>
>
> The startup sequence in OFBiz is highly complex and requires improvements on 
> multiple levels including:
> - The entire classpath buildup logic and 
> org.apache.ofbiz.base.start.Classpath needs to be removed. The original idea 
> of classpath isolation between the components created many more problems than 
> it solved, and right now the classpath construction is the responsibility of 
> the build system.
> - The custom classloader needs to be removed as well together with the 
> classpath mentioned above.
> - The StartupLoader interface should remove the start() method and just have 
> two methods, load and unload.
> - The startup sequence should have only one StartupLoader, not an array of 
> startup loaders. This StartupLoader (implemented as ContainerLoader) is the 
> only class responsible for bootstrapping OFBiz
> - The ContainerLoader needs to be completely refactored, not only to remove 
> the start() method but also to cleanup the very messy logic currently 
> residing there.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-8537) LoginWorker HashCrypt the type of hash for one-way encryption

2016-12-06 Thread Michael Brohl (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-8537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15724795#comment-15724795
 ] 

Michael Brohl commented on OFBIZ-8537:
--

Hi [~shi.jinghai],

can you please correct this as we currently have an inconsistency between 
configuration and data.

Thanks  and best regards,
Michael

> LoginWorker HashCrypt the type of hash for one-way encryption
> -
>
> Key: OFBIZ-8537
> URL: https://issues.apache.org/jira/browse/OFBIZ-8537
> Project: OFBiz
>  Issue Type: New Feature
>  Components: framework
>Affects Versions: Trunk
>Reporter: wangjunyuan
>Assignee: Shi Jinghai
>Priority: Minor
>  Labels: HashCrypt, PBKDF2, security.properties
> Attachments: HashCrypt.patch
>
>
> PBKDF2 (Password-Based Key Derivation Function 2) is part of RSA 
> Laboratories' Public-Key Cryptography Standards (PKCS) series, specifically 
> PKCS #5 v2.0, also published as Internet Engineering Task Force's RFC 2898. 
> It replaces an earlier key derivation function, PBKDF1, which could only 
> produce derived keys up to 160 bits long.Add this function to ofbiz ,this 
> PBKDF2 has four types in 
> Java:'PBKDF2WithHmacSHA1','PBKDF2WithHmacSHA256','PBKDF2WithHmacSHA384','PBKDF2WithHmacSHA512'



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)