Interface ComboWingsUserDetailsService.Combo

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      T loadOrNull(String username, @NotNull() Enum<out Object> authType, @Nullable() WingsAuthDetails authDetail) Do not accept or can not be constructed to return null.
      UserDetails postAudit(@NotNull() UserDetails useDetail, String username, @NotNull() Enum<out Object> authType, @Nullable() WingsAuthDetails authDetail) Post-audit the loaded useDetail, returning null equals `loadOrNull` null
      • Methods inherited from class org.springframework.core.Ordered

        getOrder
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • loadOrNull

        @Nullable() T loadOrNull(String username, @NotNull() Enum<out Object> authType, @Nullable() WingsAuthDetails authDetail)

        Do not accept or can not be constructed to return null. Non-null means the loading is successful, can be used to verify.

        Parameters:
        username - Unique Key under authType.
        authType - null by default
        authDetail - Authentication.
        Returns:

        UserDetails

      • postAudit

        @Nullable() UserDetails postAudit(@NotNull() UserDetails useDetail, String username, @NotNull() Enum<out Object> authType, @Nullable() WingsAuthDetails authDetail)

        Post-audit the loaded useDetail, returning null equals `loadOrNull` null

        Parameters:
        useDetail - loaded useDetail
        username - original username
        authType - original authType
        authDetail - original authDetail
        Returns:

        audited useDetail