Class JwtAuthenticationTokenSecurityContextFactory
- java.lang.Object
-
- org.bremersee.test.security.authentication.JwtAuthenticationTokenSecurityContextFactory
-
- All Implemented Interfaces:
org.springframework.security.test.context.support.WithSecurityContextFactory<WithJwtAuthenticationToken>
public class JwtAuthenticationTokenSecurityContextFactory extends Object implements org.springframework.security.test.context.support.WithSecurityContextFactory<WithJwtAuthenticationToken>
The jwt authentication token security context factory.- Author:
- Christian Bremer
-
-
Constructor Summary
Constructors Constructor Description JwtAuthenticationTokenSecurityContextFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.core.context.SecurityContext
createSecurityContext(WithJwtAuthenticationToken withJwtAuthenticationToken)
-
-
-
Method Detail
-
createSecurityContext
public org.springframework.security.core.context.SecurityContext createSecurityContext(WithJwtAuthenticationToken withJwtAuthenticationToken)
- Specified by:
createSecurityContext
in interfaceorg.springframework.security.test.context.support.WithSecurityContextFactory<WithJwtAuthenticationToken>
-
-