Custom - Attribute Consent Storage
You may also inject your own implementation for attribute consent management into CAS that would itself handle storing consent decisions, etc. In order to do this, you will need to design a configuration class that roughly matches the following:
1
2
3
4
5
6
7
8
9
10
11
package org.apereo.cas.consent;
@AutoConfiguration
@EnableConfigurationProperties(CasConfigurationProperties.class)
public class MyConfiguration {
@Bean
public ConsentRepository consentRepository() {
...
}
}
See this guide to learn more about how to register configurations into the CAS runtime.