@Introspected
public class SuccessAuthenticationScenario
extends java.lang.Object
Constructor and Description |
---|
SuccessAuthenticationScenario(java.lang.String username) |
SuccessAuthenticationScenario(java.lang.String username,
java.util.List<java.lang.String> roles) |
SuccessAuthenticationScenario(java.lang.String username,
java.util.List<java.lang.String> roles,
java.util.Map<java.lang.String,java.lang.Object> attributes) |
SuccessAuthenticationScenario(java.lang.String username,
java.lang.String password) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getAttributes() |
java.lang.String |
getPassword() |
java.util.List<java.lang.String> |
getRoles() |
java.lang.String |
getUsername() |
public SuccessAuthenticationScenario(@NonNull java.lang.String username)
username
- Usernamepublic SuccessAuthenticationScenario(@NonNull java.lang.String username, @Nullable java.lang.String password)
username
- Usernamepassword
- Passwordpublic SuccessAuthenticationScenario(@NonNull java.lang.String username, @NonNull java.util.List<java.lang.String> roles)
username
- Usernameroles
- Rolespublic SuccessAuthenticationScenario(@NonNull java.lang.String username, @NonNull java.util.List<java.lang.String> roles, @NonNull java.util.Map<java.lang.String,java.lang.Object> attributes)
username
- Usernameroles
- rolesattributes
- attributes@NonNull public java.lang.String getUsername()
@Nullable public java.lang.String getPassword()
@NonNull public java.util.List<java.lang.String> getRoles()
@NonNull public java.util.Map<java.lang.String,java.lang.Object> getAttributes()