![JAR search and dependency download from the Maven repository](/logo.png)
org.apereo.cas.nativex.SurrogateAuthenticationRuntimeHints Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cas-server-support-surrogate-webflow Show documentation
Show all versions of cas-server-support-surrogate-webflow Show documentation
cas-server-support-surrogate-webflow
package org.apereo.cas.nativex;
import org.apereo.cas.authentication.SurrogatePrincipalResolver;
import org.apereo.cas.authentication.surrogate.SurrogateCredentialTrait;
import org.apereo.cas.util.nativex.CasRuntimeHintsRegistrar;
import org.springframework.aot.hint.RuntimeHints;
import java.util.List;
/**
* This is {@link SurrogateAuthenticationRuntimeHints}.
*
* @author Misagh Moayyed
* @since 7.0.0
*/
public class SurrogateAuthenticationRuntimeHints implements CasRuntimeHintsRegistrar {
@Override
public void registerHints(final RuntimeHints hints, final ClassLoader classLoader) {
registerSerializationHints(hints, SurrogateCredentialTrait.class);
registerReflectionHints(hints, List.of(
SurrogateCredentialTrait.class,
SurrogatePrincipalResolver.class
));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy