Custom Surrogate Authentication

If you wish to design your own account store, you may follow the below approach:

1
2
3
4
5
6
7
8
9
10
11
12
package org.apereo.cas.custom;

@AutoConfiguration
@EnableConfigurationProperties(CasConfigurationProperties.class)
public class MySurrogateConfiguration {

    @Bean
    public SurrogateAuthenticationService surrogateAuthenticationService() {
      ...
    }

}

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