Class FlowableUser

java.lang.Object
org.springframework.security.core.userdetails.User
org.flowable.spring.security.FlowableUser
All Implemented Interfaces:
Serializable, FlowableUserDetails, CredentialsContainer, UserDetails

public class FlowableUser extends User implements FlowableUserDetails
A flowable implementation of UserDetails.
Author:
Filip Hrisafov
See Also:
  • Field Details

    • user

      protected final User user
    • groups

      protected final List<Group> groups
  • Constructor Details

  • Method Details

    • getUser

      public User getUser()
      Description copied from interface: FlowableUserDetails
      The user object containing the information for the Flowable IDM User. If not using the default FlowableUserDetailsService make sure that you are not reusing the User returned by the IDM and that you use a correct serializable User. For example use UserDto
      Specified by:
      getUser in interface FlowableUserDetails
    • getGroups

      public List<Group> getGroups()
      Description copied from interface: FlowableUserDetails
      The groups of the Flowable IDM User. If not using the default FlowableUserDetailsService make sure that you are not reusing the Groups returned by the IDM and that you use a correct serializable Group. For example use GroupDetails
      Specified by:
      getGroups in interface FlowableUserDetails
    • eraseCredentials

      public void eraseCredentials()
      Specified by:
      eraseCredentials in interface CredentialsContainer
      Overrides:
      eraseCredentials in class User