Class WithMockJwtAuth.JwtAuthenticationTokenFactory
java.lang.Object
com.c4_soft.springaddons.security.oauth2.test.annotations.AbstractAnnotatedAuthenticationBuilder<WithMockJwtAuth,org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationToken>
com.c4_soft.springaddons.security.oauth2.test.annotations.WithMockJwtAuth.JwtAuthenticationTokenFactory
- All Implemented Interfaces:
org.springframework.security.test.context.support.WithSecurityContextFactory<WithMockJwtAuth>
- Enclosing class:
- WithMockJwtAuth
public static final class WithMockJwtAuth.JwtAuthenticationTokenFactory
extends AbstractAnnotatedAuthenticationBuilder<WithMockJwtAuth,org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationToken>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationTokenauthentication(WithMockJwtAuth annotation) Methods inherited from class com.c4_soft.springaddons.security.oauth2.test.annotations.AbstractAnnotatedAuthenticationBuilder
authorities, claims, createSecurityContext, downcast
-
Constructor Details
-
JwtAuthenticationTokenFactory
public JwtAuthenticationTokenFactory()
-
-
Method Details
-
authentication
public org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationToken authentication(WithMockJwtAuth annotation) - Specified by:
authenticationin classAbstractAnnotatedAuthenticationBuilder<WithMockJwtAuth,org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationToken>
-