Package io.jmix.restds.impl
Class RestAuthenticationProvider
java.lang.Object
io.jmix.restds.impl.RestAuthenticationProvider
- All Implemented Interfaces:
org.springframework.security.authentication.AuthenticationProvider
public class RestAuthenticationProvider
extends Object
implements org.springframework.security.authentication.AuthenticationProvider
-
Constructor Summary
ConstructorDescriptionRestAuthenticationProvider
(RestPasswordAuthenticator restAuthenticator, 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
-
RestAuthenticationProvider
public RestAuthenticationProvider(RestPasswordAuthenticator restAuthenticator, 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
-