As described on http://fitnesse.org/FitNesse.StartingAndStoppingFitNesse
To start FitNesse with security enabled and get the username and password form a
text file called password.txt
To create a file called password.txt and add a user into the file.
java -cp fitnesse.jar fitnesse.authentication.Password -f password.txt $FITNESSE_USERNAME
It is usual to use your login id as $FITNESSE_USERNAME.
This would allow you to map the environment variables $LOGNAME or $USER on UNIX or
%USERNAME% under Windows to the FitNesse username.
For stopping fitnesse from command-line when authentication has been enabled:
java -cp fitnesse.jar fitnesse.Shutdown [...more-options] -c $FITNESSE_USERNAME $PASSWORD
No comments:
Post a Comment