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

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

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

Suraj Khurana closed OFBIZ-11747.
---------------------------------
    Fix Version/s: Upcoming Branch
       Resolution: Implemented

> 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
>             Fix For: Upcoming Branch
>
>
> - 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)