FitNesse Page Add Certification

Source: Internet
Author: User

First, increase user authentication
1. Add only one authenticated User: Java-jar fitnesse.jar-a username:password

2. Add multiple Authenticated Users (clear text password)
2.1 Create a new Password.txt text file, and set the contents of the file as follows:
tom:12345
jack:1234
2.2 Run command: Java-jar fitnesse.jar-a password.txt


3. Add multiple Authenticated Users (hashing password)
3.1 After executing the following command, it is indicated that an authenticated user store file named Password.txt is added, an authenticated user named Simon is added to the authentication file, and a prompt will be prompted to enter the corresponding user (Tom) password.
E:\AUTOMATION>JAVA-CP Fitnesse.jar fitnesse.authentication.password-f password.txt-c Fitnesse.authentication.HashingCipher Tom
3.2 Repeat 3.1 can add multiple authenticated users to the authentication file Password.txt
3.3 Run command: Java-jar fitnesse.jar-a password.txt

Second, set up the need to certify the page
Tools-Properties-Security
Secure-read = Authenticated Users can read the page
Secure-write = Only Authenticated Users can write the page.
Secure-test = Only Authenticated users can test the page.

FitNesse Page Add Certification

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.