Package io.jmix.restds.impl
Class RestAuthenticationManagerSupplier
java.lang.Object
io.jmix.restds.impl.RestAuthenticationManagerSupplier
- All Implemented Interfaces:
AddonAuthenticationManagerSupplier
public class RestAuthenticationManagerSupplier
extends Object
implements AddonAuthenticationManagerSupplier
-
Field Summary
Modifier and TypeFieldDescriptionprotected StandardAuthenticationProvidersProducer
protected org.springframework.context.ApplicationEventPublisher
-
Constructor Summary
ConstructorDescriptionRestAuthenticationManagerSupplier
(StandardAuthenticationProvidersProducer providersProducer, org.springframework.context.ApplicationEventPublisher publisher, RestPasswordAuthenticator restAuthenticator, org.springframework.security.core.userdetails.UserDetailsService userDetailsService) -
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
-
RestAuthenticationManagerSupplier
public RestAuthenticationManagerSupplier(StandardAuthenticationProvidersProducer providersProducer, org.springframework.context.ApplicationEventPublisher publisher, RestPasswordAuthenticator restAuthenticator, org.springframework.security.core.userdetails.UserDetailsService userDetailsService)
-
-
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
-