[jira] [Assigned] (OFBIZ-7551) Enforce noninstantiability to SSLUtil class

2016-07-01 Thread Arun Patidar (JIRA)

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

Arun Patidar reassigned OFBIZ-7551:
---

Assignee: Arun Patidar  (was: Rohit Koushal)

> Enforce noninstantiability to SSLUtil class
> ---
>
> Key: OFBIZ-7551
> URL: https://issues.apache.org/jira/browse/OFBIZ-7551
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Affects Versions: Trunk
>Reporter: Rishi Solanki
>Assignee: Arun Patidar
>Priority: Minor
> Attachments: OFBIZ-7551.patch
>
>
> - Make class as final.
> - Add a private constructor.
> - Make the following public static variables as private
> {code}
> public static final int HOSTCERT_NO_CHECK = 0;
> public static final int HOSTCERT_MIN_CHECK = 1;
> public static final int HOSTCERT_NORMAL_CHECK = 2;
> {code}
> - Add getHostCertNoCheck(), getHostCertMinCheck() and 
> getHostCertNormalCheck() public static methods and use them in following 
> classes, Also check if any class remains;
> {code}
> HttpClient.java
> URLConnector.java
> AliasSupportedTransportFactory.java
> WidgetMacroLibraryTests.java
> OagisServices.java
> {code}
> - Move following static class at top and make it private.
> {code}
> static class TrustAnyManager implements X509TrustManager
> {code}



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


[jira] [Assigned] (OFBIZ-7551) Enforce noninstantiability to SSLUtil class

2016-06-24 Thread Rohit Koushal (JIRA)

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

Rohit Koushal reassigned OFBIZ-7551:


Assignee: Rohit Koushal

> Enforce noninstantiability to SSLUtil class
> ---
>
> Key: OFBIZ-7551
> URL: https://issues.apache.org/jira/browse/OFBIZ-7551
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: framework
>Affects Versions: Trunk
>Reporter: Rishi Solanki
>Assignee: Rohit Koushal
>Priority: Minor
>
> - Make class as final.
> - Add a private constructor.
> - Make the following public static variables as private
> {code}
> public static final int HOSTCERT_NO_CHECK = 0;
> public static final int HOSTCERT_MIN_CHECK = 1;
> public static final int HOSTCERT_NORMAL_CHECK = 2;
> {code}
> - Add getHostCertNoCheck(), getHostCertMinCheck() and 
> getHostCertNormalCheck() public static methods and use them in following 
> classes, Also check if any class remains;
> {code}
> HttpClient.java
> URLConnector.java
> AliasSupportedTransportFactory.java
> WidgetMacroLibraryTests.java
> OagisServices.java
> {code}
> - Move following static class at top and make it private.
> {code}
> static class TrustAnyManager implements X509TrustManager
> {code}



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