...
Install the JDBC storage plugin and create a new schema/database (e.g.
webauthn
) and a new table (e.g.webauthn.StorageRecords
):
Expand | ||
---|---|---|
| ||
|
Add the following beans to conf/global.xml:
Code Block |
---|
<bean id="JDBCDataSource" class="org.mariadb.jdbc.MariaDbDataSource">
<property name="url" value="jdbc:mariadb://localhost:3306/webauthn" />
<property name="user" value="<user>" />
<property name="password" value="<password>" />
</bean>
<bean id="WebAuthnStorageService" parent="shibboleth.JDBCStorageService"
p:cleanupInterval="%{idp.storage.cleanupInterval:PT10M}"
p:dataSource-ref="shibboleth.JDBCDataSource"/> |
...
Then, configure a suitable JDBC connection by following the JDBC storage plugin documentation.
Finally, set the storage service bean you want to use for WebAuthn (WebAuthnStorageService in this example) using the property idp.authn.webauthn.StorageService in conf/authn/webauthn.properties
...