@Override
    public AuthenticationResultBuilder newBuilder() {
        return new DefaultAuthenticationResultBuilder(principalElectionStrategy);
    }
This is {@link DefaultAuthenticationResultBuilderFactory}.

@author Misagh Moayyed
@since 6.4.0
core/cas-server-core-authentication-api/src/main/java/org/apereo/cas/authentication/DefaultAuthenticationResultBuilderFactory.java