public class SecurityUserWrapper
extends org.springframework.security.core.userdetails.User
| Constructor and Description |
|---|
SecurityUserWrapper(String username,
String password,
boolean enabled,
boolean accountNonExpired,
boolean credentialsNonExpired,
boolean accountNonLocked,
Collection<? extends org.springframework.security.core.GrantedAuthority> authorities,
ApplicationUser applicationUser) |
| Modifier and Type | Method and Description |
|---|---|
ApplicationUser |
getApplicationUser() |
void |
setApplicationUser(ApplicationUser applicationUser) |
builder, equals, eraseCredentials, getAuthorities, getPassword, getUsername, hashCode, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled, toString, withDefaultPasswordEncoder, withUserDetails, withUsernamepublic SecurityUserWrapper(String username, String password, boolean enabled, boolean accountNonExpired, boolean credentialsNonExpired, boolean accountNonLocked, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities, ApplicationUser applicationUser)
public ApplicationUser getApplicationUser()
public void setApplicationUser(ApplicationUser applicationUser)
Copyright © 2021. All rights reserved.