Message-ID: <961093534.971.1369200119922.JavaMail.firstname.lastname@example.org> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_970_331628557.1369200119922" ------=_Part_970_331628557.1369200119922 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
There are many places where you might want to use and store a password, = for example for the SSL= connectors and user passwords in realms<= /a>.
Passwords can be stored in clear text, obfuscat= ed, checksummed or encrypted in = order of increasing security.
The class org.mortba= y.jetty.security.Password can be used to generate all varieties of pass= words.
Run it without arguments to see usage instructions:
where -xxx.jar signifies the version of jetty that you = have installed.
For example, to generate a secured version of the password "blah&qu= ot; for the user "me", do:
Now you can cut and paste whichever secure version you choose into your = configuration file or java code.
For example, the last line below shows you how you would cut and paste t= he encrypted password generated above into the properties file for a HashUserRealm:
Don't forget to also copy the