Package org.apereo.cas.webauthn
Class JpaWebAuthnCredentialRepository
- java.lang.Object
-
- org.apereo.cas.webauthn.storage.BaseWebAuthnCredentialRepository
-
- org.apereo.cas.webauthn.JpaWebAuthnCredentialRepository
-
- All Implemented Interfaces:
com.yubico.core.RegistrationStorage,com.yubico.webauthn.CredentialRepository,org.apereo.cas.webauthn.storage.WebAuthnCredentialRepository,org.apereo.cas.webauthn.storage.WebAuthnRegistrationStorageCleaner
@EnableTransactionManagement @Transactional(transactionManager="transactionManagerWebAuthn", propagation=REQUIRED) public class JpaWebAuthnCredentialRepository extends org.apereo.cas.webauthn.storage.BaseWebAuthnCredentialRepositoryThis isJpaWebAuthnCredentialRepository.- Since:
- 6.3.0
-
-
Constructor Summary
Constructors Constructor Description JpaWebAuthnCredentialRepository(org.apereo.cas.configuration.CasConfigurationProperties properties, org.apereo.cas.util.crypto.CipherExecutor<java.lang.String,java.lang.String> cipherExecutor, org.springframework.transaction.PlatformTransactionManager transactionManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<com.yubico.data.CredentialRegistration>getRegistrationsByUsername(java.lang.String username)java.util.stream.Stream<com.yubico.data.CredentialRegistration>stream()voidupdate(java.lang.String username, java.util.Collection<com.yubico.data.CredentialRegistration> givenRecords)-
Methods inherited from class org.apereo.cas.webauthn.storage.BaseWebAuthnCredentialRepository
addRegistrationByUsername, clean, getCipherExecutor, getCredentialIdsForUsername, getProperties, getRegistrationByUsernameAndCredentialId, getRegistrationsByUserHandle, getUserHandleForUsername, getUsernameForUserHandle, lookup, lookupAll, removeAllRegistrations, removeRegistrationByUsername, updateSignatureCount
-
-
-
-
Constructor Detail
-
JpaWebAuthnCredentialRepository
public JpaWebAuthnCredentialRepository(org.apereo.cas.configuration.CasConfigurationProperties properties, org.apereo.cas.util.crypto.CipherExecutor<java.lang.String,java.lang.String> cipherExecutor, org.springframework.transaction.PlatformTransactionManager transactionManager)
-
-
Method Detail
-
getRegistrationsByUsername
public java.util.Collection<com.yubico.data.CredentialRegistration> getRegistrationsByUsername(java.lang.String username)
-
stream
public java.util.stream.Stream<com.yubico.data.CredentialRegistration> stream()
-
update
public void update(java.lang.String username, java.util.Collection<com.yubico.data.CredentialRegistration> givenRecords)- Specified by:
updatein classorg.apereo.cas.webauthn.storage.BaseWebAuthnCredentialRepository
-
-