From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
# check "Enable security" | # check "Enable security" | ||
# select "Jenkins’ own user database" in "Security Realm" section | # select "Jenkins’ own user database" in "Security Realm" section | ||
#* "Allow users to sign up" should be selected | #* "Allow users to sign up" should be selected by default | ||
# select "Logged-in users can do anything" from "Authorization" section | # select "Logged-in users can do anything" from "Authorization" section | ||
# click "Save" | # click "Save" | ||
Line 22: | Line 22: | ||
# go to http://localhost:8080/configureSecurity/ and uncheck "Enable security" | # go to http://localhost:8080/configureSecurity/ and uncheck "Enable security" | ||
# click save | # click save | ||
#* security should be disabled now | |||
|results= | |results= | ||
# user shouldn't encounter any error messages or stacktraces, everything should work as described | # user shouldn't encounter any error messages or stacktraces, everything should work as described | ||
}} | }} |
Revision as of 05:39, 30 September 2014
Description
Securing Jenkins.
Setup
- Ensure that Jenkins is up and running
How to test
- go to http://localhost:8080/configureSecurity/
- check "Enable security"
- select "Jenkins’ own user database" in "Security Realm" section
- "Allow users to sign up" should be selected by default
- select "Logged-in users can do anything" from "Authorization" section
- click "Save"
- you should be prompted to enter you username and password
- click on "Create an account"
- fill in all fields and click "Sign up"
- you should be now logged in
- click "log out" in upper right corner
- go to http://localhost:8080/manage
- you should be prompted for your username and password, as this page is not accessible to public if security is enabled
- enter your credentials
- you should be successfully logged in
- go to http://localhost:8080/configureSecurity/ and uncheck "Enable security"
- click save
- security should be disabled now
Expected Results
- user shouldn't encounter any error messages or stacktraces, everything should work as described