Class AuthenticationPersistenceService


  • @ApplicationScoped
    public class AuthenticationPersistenceService
    extends Object
    Every authentication is persisted under Person Entry
    Version:
    May 08, 2020
    Author:
    Yuriy Movchan
    • Constructor Detail

      • AuthenticationPersistenceService

        public AuthenticationPersistenceService()
    • 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)
      • getDnForUser

        public String getDnForUser​(String userInum)