@Override
                public void registerStompEndpoints(
                    @Nonnull
                    final StompEndpointRegistry registry) {
                    registry.addEndpoint(ENDPOINT_QR_WEBSOCKET)
                        .setAllowedOrigins(casProperties.getAuthn().getQr().getAllowedOrigins().toArray(ArrayUtils.EMPTY_STRING_ARRAY))
                        .addInterceptors(new HttpSessionHandshakeInterceptor())
                        .withSockJS();
                }
This is {@link CasQRAuthenticationAutoConfiguration}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-qr-authentication/src/main/java/org/apereo/cas/config/CasQRAuthenticationAutoConfiguration.java