public class FlowableUser extends org.springframework.security.core.userdetails.User implements FlowableUserDetails
UserDetails.| Modifier and Type | Field and Description |
|---|---|
protected List<Group> |
groups |
protected List<Privilege> |
privileges |
protected User |
user |
| Constructor and Description |
|---|
FlowableUser(User user,
boolean active,
List<? extends Group> groups,
Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) |
FlowableUser(User user,
boolean active,
List<? extends Group> groups,
List<? extends Privilege> privileges,
Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
Deprecated.
Privileges are no longer required use
FlowableUser(User, boolean, List, Collection) instead |
FlowableUser(User user,
String username,
boolean enabled,
List<? extends Group> groups,
Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) |
| Modifier and Type | Method and Description |
|---|---|
void |
eraseCredentials() |
List<Group> |
getGroups()
The groups of the Flowable IDM User.
|
List<Privilege> |
getPrivileges()
Deprecated.
use
User.getAuthorities() instead |
User |
getUser()
The user object containing the information for the Flowable IDM User.
|
builder, equals, getAuthorities, getPassword, getUsername, hashCode, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled, toString, withDefaultPasswordEncoder, withUserDetails, withUsernameprotected final User user
@Deprecated public FlowableUser(User user, boolean active, List<? extends Group> groups, List<? extends Privilege> privileges, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
FlowableUser(User, boolean, List, Collection) insteadpublic FlowableUser(User user, boolean active, List<? extends Group> groups, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
public FlowableUser(User user, String username, boolean enabled, List<? extends Group> groups, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
public User getUser()
FlowableUserDetailsUserDtogetUser in interface FlowableUserDetailspublic List<Group> getGroups()
FlowableUserDetailsGroupDetailsgetGroups in interface FlowableUserDetails@Deprecated public List<Privilege> getPrivileges()
User.getAuthorities() insteadGrantedAuthority. THey can be extracted through User.getAuthorities()public void eraseCredentials()
eraseCredentials in interface org.springframework.security.core.CredentialsContainereraseCredentials in class org.springframework.security.core.userdetails.UserCopyright © 2020 Flowable. All rights reserved.