Class EnduranceTrioAuthProvider
java.lang.Object
com.endurancetrio.app.common.security.provider.EnduranceTrioAuthProvider
- All Implemented Interfaces:
org.springframework.security.authentication.AuthenticationProvider
@Component
public class EnduranceTrioAuthProvider
extends Object
implements org.springframework.security.authentication.AuthenticationProvider
Custom AuthenticationProvider to handle Key based authentication.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.Authenticationauthenticate(@NonNull org.springframework.security.core.Authentication authentication) boolean
-
Constructor Details
-
EnduranceTrioAuthProvider
-
-
Method Details
-
authenticate
public org.springframework.security.core.Authentication authenticate(@NonNull org.springframework.security.core.Authentication authentication) throws org.springframework.security.core.AuthenticationException - Specified by:
authenticatein interfaceorg.springframework.security.authentication.AuthenticationProvider- Throws:
org.springframework.security.core.AuthenticationException
-
supports
- Specified by:
supportsin interfaceorg.springframework.security.authentication.AuthenticationProvider
-