Package io.jmix.security.authentication
Class StandardAuthenticationManagerSupplier
java.lang.Object
io.jmix.security.authentication.StandardAuthenticationManagerSupplier
- All Implemented Interfaces:
AddonAuthenticationManagerSupplier
public class StandardAuthenticationManagerSupplier
extends Object
implements AddonAuthenticationManagerSupplier
The default AddonAuthenticationManagerSupplier supplier that provides AuthenticationManager used by basic
application.
-
Field Summary
Modifier and TypeFieldDescriptionprotected StandardAuthenticationProvidersProducer
protected org.springframework.context.ApplicationEventPublisher
-
Constructor Summary
ConstructorDescriptionStandardAuthenticationManagerSupplier
(StandardAuthenticationProvidersProducer providersProducer, org.springframework.context.ApplicationEventPublisher publisher) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.authentication.AuthenticationManager
Returns a global AuthenticationManager instance provided by an add-on.
-
Field Details
-
providersProducer
-
publisher
protected org.springframework.context.ApplicationEventPublisher publisher
-
-
Constructor Details
-
StandardAuthenticationManagerSupplier
public StandardAuthenticationManagerSupplier(StandardAuthenticationProvidersProducer providersProducer, org.springframework.context.ApplicationEventPublisher publisher)
-
-
Method Details
-
getAuthenticationManager
public org.springframework.security.authentication.AuthenticationManager getAuthenticationManager()Description copied from interface:AddonAuthenticationManagerSupplier
Returns a global AuthenticationManager instance provided by an add-on.- Specified by:
getAuthenticationManager
in interfaceAddonAuthenticationManagerSupplier
- Returns:
- authentication manager
-