Package com.aquima.web.boot.security.jwt
Class JwtAuthenticationProviderFactory
java.lang.Object
com.aquima.web.boot.security.jwt.JwtAuthenticationProviderFactory
- All Implemented Interfaces:
AuthenticationProviderFactory
@Component
public class JwtAuthenticationProviderFactory
extends Object
implements AuthenticationProviderFactory
-
Constructor Summary
ConstructorsConstructorDescriptionJwtAuthenticationProviderFactory
(org.springframework.security.config.ObjectPostProcessor<Object> objectPostProcessor, JwtClaimMapper jwtClaimMapper, Optional<org.springframework.security.oauth2.jwt.JwtDecoder> jwtDecoder) -
Method Summary
Modifier and TypeMethodDescriptionboolean
org.springframework.security.authentication.AuthenticationProvider
boolean
matchesForType
(String type)
-
Constructor Details
-
JwtAuthenticationProviderFactory
@Autowired public JwtAuthenticationProviderFactory(org.springframework.security.config.ObjectPostProcessor<Object> objectPostProcessor, JwtClaimMapper jwtClaimMapper, Optional<org.springframework.security.oauth2.jwt.JwtDecoder> jwtDecoder)
-
-
Method Details
-
create
- Specified by:
create
in interfaceAuthenticationProviderFactory
-
canCreate
public boolean canCreate()- Specified by:
canCreate
in interfaceAuthenticationProviderFactory
-
matchesForType
- Specified by:
matchesForType
in interfaceAuthenticationProviderFactory
-