Class MemoryUserDetailsCombo

  • All Implemented Interfaces:
    org.springframework.core.Ordered , pro.fessional.wings.slardar.security.impl.ComboWingsUserDetailsService.Combo

    
    public class MemoryUserDetailsCombo
    extends DefaultUserDetailsCombo
                        
    Predefined user auth info is loaded into memory by config, etc.
    If autoEncode and password is not in `{` and `}` proxy mode, it is auto encrypted.
    Notes:
    (1) Make sure the mapping of username and userid, no verification here.
    (2) Verify without salt, even if `passslat` exists in db.
    
    Since:

    2021-06-03

    Author:

    trydofor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void addUser(@NotNull() WarlockAuthnService.Details dtl) Add a memory user, AuthType=null for all types
      void addUser(long userId, Enum<out Object> authType, @NotNull() String username, @NotNull() String password)
      void delUser(@NotNull() String username)
      void delUser(@NotNull() String username, Enum<out Object> authType)
      WarlockAuthnService.Details doLoad(String username, @NotNull() Enum<out Object> authType, @Nullable() WingsAuthDetails authDetail) Load details
      • Methods inherited from class pro.fessional.wings.warlock.service.auth.impl.DefaultUserDetailsCombo

        asAuthed, getAutoRegisterType, getOrder, getWarlockAuthnService, getWarlockAuthzService, loadOrNull, setAutoRegisterType, setOrder, setWarlockAuthnService, setWarlockAuthzService
      • Methods inherited from class pro.fessional.wings.slardar.security.impl.ComboWingsUserDetailsService.Combo

        loadOrNull, postAudit
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait