public Config setAuthorizer(final Authorizer authorizer) {
        CommonHelper.assertNotNull("authorizer", authorizer);
        this.authorizers.put(authorizer.getClass().getSimpleName(), authorizer);
        return this;
    }
<p>setAuthorizer.</p>

@param authorizer a {@link Authorizer} object
@return a {@link Config} object
pac4j-core/src/main/java/org/pac4j/core/config/Config.java