Class SimpleUserLoginGenerator

java.lang.Object
com.flowable.platform.rest.service.api.user.SimpleUserLoginGenerator
All Implemented Interfaces:
UserLoginGenerator

public class SimpleUserLoginGenerator
extends java.lang.Object
implements UserLoginGenerator
A UserLoginGenerator that uses the first and last name of a user to generate the login. It always generates a unique login in the system, by appending a number to the login and checking within the system.
Author:
Filip Hrisafov
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected com.flowable.core.idm.api.PlatformIdentityService identityService  
  • Constructor Summary

    Constructors 
    Constructor Description
    SimpleUserLoginGenerator​(com.flowable.core.idm.api.PlatformIdentityService identityService)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String generateLogin​(CreateUserRepresentation request)
    Generate a login from the provided request

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait