@Override
    public void registerHints(final RuntimeHints hints, final ClassLoader classLoader) {
        registerSerializationHints(hints, PrincipalBearingCredential.class);

        registerReflectionHints(hints, List.of(
            PrincipalBearingCredential.class,
            PrincipalBearingPrincipalResolver.class
        ));
    }
This is {@link TrustedAuthenticationRuntimeHints}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-trusted-webflow/src/main/java/org/apereo/cas/nativex/TrustedAuthenticationRuntimeHints.java