Package io.jans.fido2.service.persist
Class AuthenticationPersistenceService
- java.lang.Object
-
- io.jans.fido2.service.persist.AuthenticationPersistenceService
-
@ApplicationScoped public class AuthenticationPersistenceService extends Object
Every authentication is persisted under Person Entry- Version:
- May 08, 2020
- Author:
- Yuriy Movchan
-
-
Constructor Summary
Constructors Constructor Description AuthenticationPersistenceService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addBranch(String baseDn)
io.jans.orm.model.fido2.Fido2AuthenticationEntry
buildFido2AuthenticationEntry(io.jans.orm.model.fido2.Fido2AuthenticationData authenticationData, boolean oneStep)
boolean
containsBranch(String baseDn)
List<io.jans.orm.model.fido2.Fido2AuthenticationEntry>
findByChallenge(String challenge, boolean oneStep)
String
getBaseDnForFido2AuthenticationEntries(String userInum)
String
getDnForAuthenticationEntry(String userInum, String jsId)
String
getDnForUser(String userInum)
void
prepareBranch(String userInum)
void
save(io.jans.orm.model.fido2.Fido2AuthenticationData authenticationData)
void
save(io.jans.orm.model.fido2.Fido2AuthenticationEntry authenticationEntity)
void
update(io.jans.orm.model.fido2.Fido2AuthenticationEntry authenticationEntity)
-
-
-
Method Detail
-
save
public void save(io.jans.orm.model.fido2.Fido2AuthenticationData authenticationData)
-
save
public void save(io.jans.orm.model.fido2.Fido2AuthenticationEntry authenticationEntity)
-
buildFido2AuthenticationEntry
public io.jans.orm.model.fido2.Fido2AuthenticationEntry buildFido2AuthenticationEntry(io.jans.orm.model.fido2.Fido2AuthenticationData authenticationData, boolean oneStep)
-
update
public void update(io.jans.orm.model.fido2.Fido2AuthenticationEntry authenticationEntity)
-
addBranch
public void addBranch(String baseDn)
-
containsBranch
public boolean containsBranch(String baseDn)
-
prepareBranch
public void prepareBranch(String userInum)
-
findByChallenge
public List<io.jans.orm.model.fido2.Fido2AuthenticationEntry> findByChallenge(String challenge, boolean oneStep)
-
getDnForAuthenticationEntry
public String getDnForAuthenticationEntry(String userInum, String jsId)
-
getBaseDnForFido2AuthenticationEntries
public String getBaseDnForFido2AuthenticationEntries(String userInum)
-
-