WORKERS AHEAD!
You are viewing the development documentation for the Apereo CAS server. The functionality presented here is not officially released yet. This is a work in progress and will be continually updated as development moves forward. You are most encouraged to test the changes presented.
Custom YubiKey Registration
If you wish to plug in a custom registry implementation that would determine
which users are allowed to use their YubiKey accounts for authentication, you
may plug in a custom implementation of the YubiKeyAccountRegistry
that
allows you to provide a mapping between usernames and YubiKey public keys.
1
2
3
4
5
6
7
8
9
10
11
package org.apereo.cas.support.yubikey;
@AutoConfiguration
@EnableConfigurationProperties(CasConfigurationProperties.class)
public class MyYubiKeyConfiguration {
@Bean
public YubiKeyAccountRegistry yubiKeyAccountRegistry() {
...
}
}