You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Rahul Singh (JIRA)" <ji...@apache.org> on 2016/07/02 06:22:11 UTC

[jira] [Commented] (OFBIZ-7692) Enforce noninstantiability to AuthHelper class

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

Rahul Singh commented on OFBIZ-7692:
------------------------------------

Added the patch to fix this issue. Thanks, [~rishisolankii] for the detailed description.

> Enforce noninstantiability to AuthHelper class
> ----------------------------------------------
>
>                 Key: OFBIZ-7692
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7692
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Rishi Solanki
>            Priority: Minor
>         Attachments: OFBIZ-7692.patch
>
>
> - Make class as final.
> - Add a private constructor.
> - Make the following protected static variables as private
> {code}
>     protected static List<Authenticator> authenticators = new ArrayList<Authenticator>();
>     protected static boolean authenticatorsLoaded = false;
> {code}



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