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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)
Rishi Solanki created OFBIZ-7692:
------------------------------------

             Summary: 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


- 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)