Simple Multifactor Authentication - Custom Token Management

You may define your own multifactor authentication service using the following bean definition and by implementing CasSimpleMultifactorAuthenticationService:

1
2
3
4
@Bean
public CasSimpleMultifactorAuthenticationService casSimpleMultifactorAuthenticationService() {
    return new MyCasSimpleMultifactorAuthenticationService();
}

See this guide to learn more about how to register configurations into the CAS runtime.