-
1. Re: authentication based on unix logins ?
tcherel Jul 27, 2005 5:29 PM (in response to lafr)There is no out-of-the-box JAAS login modules that will allow you to do that (at least not with JBoss).
You might be able to extract and reuse the UnixLoginModule of the dwarf server framework: http://158.195.16.189/doc/dwarf/api/SK/gnome/dwarf/auth/login/UnixLoginModule.html
Thomas -
2. Re: authentication based on unix logins ?
tcherel Jul 27, 2005 5:31 PM (in response to lafr)Actually, forget what I said, dwarf is not open source. You just have a free binary distribution.....
-
3. Re: authentication based on unix logins ?
starksm64 Jul 30, 2005 11:35 AM (in response to lafr)
The sun jdk for a given platform has an os specific login module. See the javadoc:
http://java.sun.com/j2se/1.4.2/docs/guide/security/jaas/spec/com/sun/security/auth/module/package-summary.html
Also, see if this has anything iteresting:
http://sourceforge.net/projects/jaas-pam/ -
4. Re: authentication based on unix logins ?
tcherel Jul 30, 2005 12:22 PM (in response to lafr)I tried to use these a little while ago, but they are pretty useless in a client/server context like in JBoss.
The NT and Unix module are just populated a JAAS subject with some data coming from the currently authenticated user (the user running the Java code).
You cannot provide an arbitrary user name and password to them so they can actually perform the authentication.
Thomas -
5. Re: authentication based on unix logins ?
tcherel Jul 30, 2005 12:24 PM (in response to lafr)But the jaas-pam stuff looks promissing :-)