Package io.jmix.core.security.impl
Class CurrentAuthenticationUserLoaderImpl
java.lang.Object
io.jmix.core.security.impl.CurrentAuthenticationUserLoaderImpl
- All Implemented Interfaces:
CurrentAuthenticationUserLoader
@Component("core_CurrentAuthenticationUserLoader")
public class CurrentAuthenticationUserLoaderImpl
extends Object
implements CurrentAuthenticationUserLoader
-
Field Summary
Modifier and TypeFieldDescriptionprotected CoreProperties
protected UnconstrainedDataManager
protected EntityStates
protected Metadata
protected MetadataTools
-
Constructor Summary
ConstructorDescriptionCurrentAuthenticationUserLoaderImpl
(UnconstrainedDataManager dataManager, Metadata metadata, MetadataTools metadataTools, CoreProperties coreProperties, EntityStates entityStates) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.userdetails.UserDetails
reloadUser
(org.springframework.security.core.userdetails.UserDetails user, Map<String, Object> hints) Returns the reloaded user instance.protected boolean
shouldReloadUser
(org.springframework.security.core.userdetails.UserDetails user, Map<String, Object> hints)
-
Field Details
-
dataManager
-
metadata
-
metadataTools
-
coreProperties
-
entityStates
-
-
Constructor Details
-
CurrentAuthenticationUserLoaderImpl
public CurrentAuthenticationUserLoaderImpl(UnconstrainedDataManager dataManager, Metadata metadata, MetadataTools metadataTools, CoreProperties coreProperties, EntityStates entityStates)
-
-
Method Details
-
reloadUser
public org.springframework.security.core.userdetails.UserDetails reloadUser(org.springframework.security.core.userdetails.UserDetails user, Map<String, Object> hints) Description copied from interface:CurrentAuthenticationUserLoader
Returns the reloaded user instance. See supported hints in theCurrentUserHints
.- Specified by:
reloadUser
in interfaceCurrentAuthenticationUserLoader
-
shouldReloadUser
-