Notwithstanding the contrary provisions of any law or rule or regulation issued pursuant to law, no State, county or municipal department, board, officer or agency, hereinafter referred to as "licensing authority" authorized to pass upon the qualifications of any applicant for a license or certificate of authority or qualification to engage in the practice of a profession or business or for admission to an examination to qualify for such a license or certificate may disqualify or discriminate against an applicant for a license or certificate or an application for admission to a qualifying examination on the grounds that the applicant has been convicted of a crime, or adjudged a disorderly person, except that a licensing authority may disqualify or discriminate against an applicant for a license or certificate if N.J.S. 2C:51-2 or any disqualifying criminal activity set forth in subsection a. of section 7 of P.L. 2009, c. 53(C.17:11C-57) is applicable, or if a conviction for a crime relates adversely to the occupation, trade, vocation, profession or business for which the license or certificate is sought. In determining that a conviction for a crime relates adversely to the occupation, trade, vocation, profession or business, the licensing authority shall explain in writing how the following factors, or any other factors, relate to the license or certificate sought:
N.J.S. § 2A:168A-2