Package io.jmix.core.security.impl
Class SubstitutedUserAuthenticationProvider
java.lang.Object
io.jmix.core.security.impl.SubstitutedUserAuthenticationProvider
- All Implemented Interfaces:
org.springframework.security.authentication.AuthenticationProvider
public class SubstitutedUserAuthenticationProvider
extends Object
implements org.springframework.security.authentication.AuthenticationProvider
-
Constructor Summary
ConstructorDescriptionSubstitutedUserAuthenticationProvider
(org.springframework.security.core.userdetails.UserDetailsService userDetailsService) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.Authentication
authenticate
(org.springframework.security.core.Authentication authentication) boolean
-
Constructor Details
-
SubstitutedUserAuthenticationProvider
public SubstitutedUserAuthenticationProvider(org.springframework.security.core.userdetails.UserDetailsService userDetailsService)
-
-
Method Details
-
authenticate
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication) throws org.springframework.security.core.AuthenticationException - Specified by:
authenticate
in interfaceorg.springframework.security.authentication.AuthenticationProvider
- Throws:
org.springframework.security.core.AuthenticationException
-
supports
- Specified by:
supports
in interfaceorg.springframework.security.authentication.AuthenticationProvider
-