FitNesse user control

上一篇 / 下一篇  2008-03-18 09:57:13 / 个人分类:FitNesse

1.    Using command line to add user and user password:

           D:\fitnesse>java -cp fitnesse.jar fitnesse.authentication.Password -f password.txt -c           fitnesse.authentication.HashingCipher Sophia

           (‘D:\fitnesse>’ is FitNesse’s setup directory)

2.      When the user is added successfully, a password.txt file will be created under FitNesse’s root directory.

3.      Start FitNesse using ordinary mode:

           D:\FitNesse>run –p 8080

4.      Change the pages that you want to use user control

           In the intent page, click the properties button on the left panel. In the properties page, togglethe checkbox before- secure-read/ - secure-write/ - secure-test, and click save

5.      Start FitNesse using authentication mode

           D:\fitNesse>run –p 8080 –a password.txt

           After restarting the server, you’ll see a pop-up dialogue box that reminds you to input your  user name and password after you click the controlled page.


相关阅读:

TAG: FitNesse

 

评分:0

我来说两句

日历

« 2024-04-07  
 123456
78910111213
14151617181920
21222324252627
282930    

数据统计

  • 访问量: 10275
  • 日志数: 18
  • 书签数: 1
  • 建立时间: 2007-08-24
  • 更新时间: 2008-03-26

RSS订阅

Open Toolbar