private static AuthenticationHandlerDetails buildHandlerDetails(final AuthenticationHandler handler) {
        return AuthenticationHandlerDetails.builder()
            .name(handler.getName())
            .type(handler.getClass().getName())
            .order(handler.getOrder())
            .state(handler.getState().name())
            .build();
    }
Fetch authn handler by name.

@param name the name
@return the authentication handler
support/cas-server-support-reports-core/src/main/java/org/apereo/cas/web/report/RegisteredAuthenticationHandlersEndpoint.java