Class WithMockAuthentication.Factory

    • Constructor Detail

      • Factory

        public Factory()
    • Method Detail

      • createSecurityContext

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

        public org.springframework.security.core.Authentication authentication​(WithMockAuthentication annotation)