Class WAWebAuthnCredentialRepository
java.lang.Object
org.apereo.cas.webauthn.storage.BaseWebAuthnCredentialRepository
org.apache.syncope.wa.starter.webauthn.WAWebAuthnCredentialRepository
- All Implemented Interfaces:
com.yubico.core.RegistrationStorage
,com.yubico.webauthn.CredentialRepository
,org.apereo.cas.webauthn.storage.WebAuthnCredentialRepository
,org.apereo.cas.webauthn.storage.WebAuthnRegistrationStorageCleaner
public class WAWebAuthnCredentialRepository
extends org.apereo.cas.webauthn.storage.BaseWebAuthnCredentialRepository
-
Field Summary
Fields inherited from interface org.apereo.cas.webauthn.storage.WebAuthnCredentialRepository
BEAN_NAME
-
Constructor Summary
ConstructorDescriptionWAWebAuthnCredentialRepository
(org.apereo.cas.configuration.CasConfigurationProperties properties, WARestClient waRestClient) -
Method Summary
Modifier and TypeMethodDescriptionCollection
<com.yubico.data.CredentialRegistration> getRegistrationsByUsername
(String username) boolean
removeAllRegistrations
(String username) boolean
removeRegistrationByUsername
(String username, com.yubico.data.CredentialRegistration credentialRegistration) protected WebAuthnRegistrationService
service()
Stream
<? extends com.yubico.data.CredentialRegistration> stream()
protected void
update
(String username, Collection<com.yubico.data.CredentialRegistration> records) Methods inherited from class org.apereo.cas.webauthn.storage.BaseWebAuthnCredentialRepository
addRegistrationByUsername, clean, getCipherExecutor, getCredentialIdsForUsername, getProperties, getRegistrationByUsernameAndCredentialId, getRegistrationsByUserHandle, getUserHandleForUsername, getUsernameForUserHandle, lookup, lookupAll, updateSignatureCount
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.yubico.core.RegistrationStorage
userExists
-
Field Details
-
LOG
-
waRestClient
-
-
Constructor Details
-
WAWebAuthnCredentialRepository
public WAWebAuthnCredentialRepository(org.apereo.cas.configuration.CasConfigurationProperties properties, WARestClient waRestClient)
-
-
Method Details
-
service
-
removeRegistrationByUsername
public boolean removeRegistrationByUsername(String username, com.yubico.data.CredentialRegistration credentialRegistration) - Specified by:
removeRegistrationByUsername
in interfacecom.yubico.core.RegistrationStorage
- Overrides:
removeRegistrationByUsername
in classorg.apereo.cas.webauthn.storage.BaseWebAuthnCredentialRepository
-
removeAllRegistrations
- Specified by:
removeAllRegistrations
in interfacecom.yubico.core.RegistrationStorage
- Overrides:
removeAllRegistrations
in classorg.apereo.cas.webauthn.storage.BaseWebAuthnCredentialRepository
-
stream
-
update
- Specified by:
update
in classorg.apereo.cas.webauthn.storage.BaseWebAuthnCredentialRepository
-
getRegistrationsByUsername
public Collection<com.yubico.data.CredentialRegistration> getRegistrationsByUsername(String username)
-