Package mocking

Class WithMockCustomUserSecurityContextFactory

  • All Implemented Interfaces:
    org.springframework.security.test.context.support.WithSecurityContextFactory<WithMockCustomUser>

    public class WithMockCustomUserSecurityContextFactory
    extends java.lang.Object
    implements org.springframework.security.test.context.support.WithSecurityContextFactory<WithMockCustomUser>
    Factory for WithMockCustomUser annotation.
    • Constructor Detail

      • WithMockCustomUserSecurityContextFactory

        public WithMockCustomUserSecurityContextFactory()
    • Method Detail

      • createSecurityContext

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