Annotation Interface WithNormalizedUser


@Target({METHOD,TYPE}) @Retention(RUNTIME) @Inherited @Documented @WithSecurityContext(factory=org.bremersee.spring.security.test.context.support.WithNormalizedUserSecurityContextFactory.class) public @interface WithNormalizedUser
The with normalized user annotation.
Author:
Christian Bremer
  • Element Details

    • name

      String name
      Name string.
      Returns:
      the string
      Default:
      "junit"
    • firstName

      String firstName
      First name string.
      Returns:
      the string
      Default:
      "Test"
    • lastName

      String lastName
      Last name string.
      Returns:
      the string
      Default:
      "User"
    • email

      String email
      Email string.
      Returns:
      the string
      Default:
      "junit@localhost"
    • password

      String password
      Password string.
      Returns:
      the string
      Default:
      "secret"
    • authorities

      String[] authorities
      Authorities string [ ].
      Returns:
      the string [ ]
      Default:
      {}
    • groups

      String[] groups
      Groups string [ ].
      Returns:
      the string [ ]
      Default:
      {}