You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/06/07 05:26:00 UTC

[jira] [Commented] (OFBIZ-11747) Enforce noninstantiability to LoginWorker Class

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

ASF subversion and git services commented on OFBIZ-11747:
---------------------------------------------------------

Commit c00e61aa1804988d3153c3a5debab2d421d85567 in ofbiz-framework's branch refs/heads/trunk from Suraj Khurana
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=c00e61a ]

Improved: Enforce noninstantiability to LoginWorker class. (#175)

(OFBIZ-11747)

Made class as final, added private constructor and made static variables as private.

> Enforce noninstantiability to LoginWorker Class
> -----------------------------------------------
>
>                 Key: OFBIZ-11747
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11747
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Suraj Khurana
>            Assignee: Suraj Khurana
>            Priority: Major
>
> - Make LoginWorker class as final.
>  - Add a private constructor.
>  - Make the following public static variable as private and correct naming convention
> {code:java}
> public final static String MODULE = LoginWorker.class.getName();
> public static final String resourceWebapp = "SecurityextUiLabels";
> public static final String X509_CERT_ATTR = "SSLx509Cert";
> public static final String securityProperties = "security.properties";{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)