exceptionfactory commented on pull request #5068:
URL: https://github.com/apache/nifi/pull/5068#issuecomment-846266488


   > Thanks @exceptionfactory. This appears to work as designed. However, I 
think that this is a pretty concerning change to the user experience. Every 
time the user wants to login, they now are required to go find that generated 
username and password. There appears to be no way to set your own. I think we 
need the ability to set the username & password somehow. Preferably with 
something like `nifi.sh set-single-user <user> <pass>` or something like that.
   > 
   > Would also recommend using a pre-defined username such as `admin` or 
`nifi` or something but I can leave that up to your discretion if the 
commandline util gives us the ability to set username and password
   
   Thanks for the review and feedback @markap14!  Although Single User 
authentication is not intended for production use cases, having the ability to 
change the credentials would certainly make it easier to get started.
   
   I pushed an update that includes a new command option:
   
   `nifi.sh set-single-user-credentials <username> <password>`
   
   This required refactoring shared classes to a new `nifi-single-user-utils` 
module that could be leveraged in the bootstrap library.  I also updated the 
Getting Started documentation with an example command, and included a log 
statement with the command after generating the default random credentials.
   
   With this option, I kept the random username as well as random password.
   
   Please let me know if you have any additional feedback.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to