Mark
unread,Nov 18, 2009, 3:07:50 PM11/18/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ControlTier
As someone who is not familiar with Jetty, it took a little time to
figure out how to configure new accounts with passwords that are not
in plaintext. It was suggested that I might want to share this with
the group, so here goes:
$ cd ControlTier/pkgs/jetty-6.1.14
$ java -cp lib/jetty-6.1.14.jar:lib/jetty-util-6.1.14.jar
org.mortbay.security.Password username password
OBF:obfpass
MD5:md5pass
CRYPT:cryptpass
Then add this to etc/realm.properties like so:
username: MD5:md5pas>,user,build,deploy
Note that if you want to use digest authentication, there appears to
be another step involved, where you take an md5hash of something like
username:workbench:obfpass or username:jobcenterrealm:obfpass
(Note that if you use digest you must use OBF). As a caveat, I have
not tested the digest portion of these instructions, that's just a
best guess from the things I read while getting the straight hashed
passwords to work.