re"><span class="modifiers">public static</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">setFactory</span>&#8203;(<span class="arguments"><a href="AuthConfigFactory.html" title="class in jakarta.security.auth.message.config">AuthConfigFactory</a>&nbsp;factory)</span></div>
<div class="block">Set the system-wide AuthConfigFactory implementation.

 <p>
 If an implementation was set previously, it will be replaced.
 <p>
 Listeners are not notified of a change to the registered f