Class 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 Detail

      • JwtAuthenticationTokenSecurityContextFactory

        public JwtAuthenticationTokenSecurityContextFactory()
    • Method Detail

      • createSecurityContext

        public org.springframework.security.core.context.SecurityContext createSecurityContext​(WithJwtAuthenticationToken withJwtAuthenticationToken)
        Specified by:
        createSecurityContext in interface org.springframework.security.test.context.support.WithSecurityContextFactory<WithJwtAuthenticationToken>