Linux Pam Authenticator
Have FitNesse authenticate users based on any Linux authentication scheme.
by Micah Martin
Download
linuxpamauth.zip - A zip file containing all the necessary files.linuxpamauth_src.zip - The source code.
Installation
WARNING - This might get ugly.- Unzip the linuxpamauth.zip file.
- >unzip linuxpamauth.zip
- Install the validate executable in usr/bin.
- >cp linuxpamauth/usr/bin/validate /usr/bin/
- >chmod 755 /usr/bin/validate
- >chmod u+s /usr/bin/validate
- Install the pam.d config file.
- It is assumed that pam is already running properly on the server. If not, then ask yourself why you want to use this plugin.
- >cp linuxpamauth/etc/pam.d/fitnesse /etc/pam.d/
- Edit this fitnesse config file to your desire. By default it uses system authentication.
- Test the validate program.
- If you're logged in as root, su to non-root user.
- >validate <username>
- The validate program will now wait for the password to be entered into standard input.
- ><password>
- If you used valid credentials and all is well, validate will respond with OK. Otherwise it will respond with an appropriote error code.
- Test the LinuxPamAuthenticator java program.
- >java -cp linuxpam.jar:path/to/fitnesse.jar com.objectmentor.fitnesse.LinuxPamAuthenticator <username> <password>
- Valid username/password combinations should result in a Authenticated message. Bad credentials get a Not Authenticated message.
- Install the LinuxPamAuthenticator
- Create/Edit the plugins.properties in your Fitnesse directory. Add the following line.
- Authenticator = com.objectmentor.fitnesse.LinuxPamAuthenticator
- Restart FitNesse making sure that linuxpam.jar is in the classpath.
- FitNesse's startup message will indicate that the plugin was loaded:
- authenticator: com.objectmentor.fitnesse.LinuxPamAuthenticator
Cool site. Thank you!
http://v23ga.xaryr.org/ v23ga
http://8860.rekehy.info/
http://l550r.kifywif.info/ l550r
http://ibm-thinkpad.xaryr.org/ ibm thinkpad
http://powerhaus.hugodo.org/ powerhaus
http://fdmavica.xaryr.org/ fdmavica
http://hansfree.dyzy.org/ hansfree
http://gsm.defedaqe.org/ gsm
http://insert-correct-card.gohen.info/ insert correct card
http://t18z.wupax.org/ t18z
http://premiership.qybaraj.info/ premiership
http://gd68.kifywif.info/ gd68
http://6102-case-cell-nokia-phone.voherub.info/
http://masc.kicagozej.org/ masc
http://d-104.moheh.info/ d 104
http://cheap-notebook-memory.kizyqimo.info/ cheap notebook memory
http://1360.qonuqese.org/
http://v23ga.xaryr.org/ v23ga
http://8860.rekehy.info/
- 860
http://l550r.kifywif.info/ l550r
http://ibm-thinkpad.xaryr.org/ ibm thinkpad
http://powerhaus.hugodo.org/ powerhaus
http://fdmavica.xaryr.org/ fdmavica
http://hansfree.dyzy.org/ hansfree
http://gsm.defedaqe.org/ gsm
http://insert-correct-card.gohen.info/ insert correct card
http://t18z.wupax.org/ t18z
http://premiership.qybaraj.info/ premiership
http://gd68.kifywif.info/ gd68
http://6102-case-cell-nokia-phone.voherub.info/
- 102 case cell nokia phone
http://masc.kicagozej.org/ masc
http://d-104.moheh.info/ d 104
http://cheap-notebook-memory.kizyqimo.info/ cheap notebook memory
http://1360.qonuqese.org/
- 360
- 0pp9352
[.FrontPage] [.RecentChanges]