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
-
Optional Element Summary
Optional Elements
-
Element Details
-
name
String nameName string.- Returns:
- the string
- Default:
"junit"
-
firstName
String firstNameFirst name string.- Returns:
- the string
- Default:
"Test"
-
lastName
String lastNameLast name string.- Returns:
- the string
- Default:
"User"
-
email
String emailEmail string.- Returns:
- the string
- Default:
"junit@localhost"
-
password
String passwordPassword string.- Returns:
- the string
- Default:
"secret"
-
authorities
String[] authoritiesAuthorities string [ ].- Returns:
- the string [ ]
- Default:
{}
-
groups
String[] groupsGroups string [ ].- Returns:
- the string [ ]
- Default:
{}
-