-
1. Re: basic authentication against unix password file?
anil.saldhana Mar 8, 2009 12:15 PM (in response to dickson1888)I have never thought of this. There needs to be a JAAS login module that can deal with the password file. But I am unsure how the implementation looks like for the login module.
-
2. Re: basic authentication against unix password file?
dickson1888 Mar 10, 2009 2:33 AM (in response to dickson1888)Hi Anil,
Thanks for your help.
I just want to setup the basic authentication in JBoss AS 5.0 as similiar as that in apache web server which can authenticate against a LDAP server or a unix password file.
Has anyone this setup experience? Thanks for any help. -
3. Re: basic authentication against unix password file?
ellis2323 Mar 13, 2009 6:41 PM (in response to dickson1888)JPAM http://jpam.sourceforge.net/ can be used to do pam authentication (shadow, nis, LDAP ...). I haven't used it.
-
4. Re: basic authentication against unix password file?
anil.saldhana Mar 16, 2009 12:56 AM (in response to dickson1888)Thanks for the info on jpam.
-
5. Re: basic authentication against unix password file?
aamonten Mar 16, 2009 10:38 AM (in response to dickson1888)"dickson1888" wrote:
Hi Anil,
Thanks for your help.
I just want to setup the basic authentication in JBoss AS 5.0 as similiar as that in apache web server which can authenticate against a LDAP server or a unix password file.
Has anyone this setup experience? Thanks for any help.
Are you looking for authentication against the unix auth file (/etc/passwd + /etc/shadow) or for authentication against a file created with the htpasswd command (normally used for Apache HTTPD auth)?
thanks -
6. Re: basic authentication against unix password file?
dickson1888 Mar 18, 2009 4:46 AM (in response to dickson1888)Firstly, thanks for everyone's help.
"Yes", I want to do authentication against a file created with the htpasswd command (normally used for Apache HTTPD auth).
As the existing setup of authentication in our Apache web server and other java application server use LDAP and unix password file, however, the unix password file is not the /etc/passwd. This unix password file is extracted from a secure server; the format is the same as a file created with the htpasswd command.
The format
{user_name}:{unix encryed_password}
Hi aamonten,
Do you have any idea to implement it? Thanks in advance. -
7. Re: basic authentication against unix password file?
dickson1888 May 19, 2009 9:56 PM (in response to dickson1888)Hi everyone,
Can anyone help to implement it? -
8. Re: basic authentication against unix password file?
dickson1888 May 26, 2009 12:26 AM (in response to dickson1888)Can anyone help for this issue? Thanks in advance
-
9. Re: basic authentication against unix password file?
dickson1888 Jun 1, 2009 11:36 PM (in response to dickson1888)does it mean that there is no existing module to implement my task (check password with unix password file)?
-
10. Re: basic authentication against unix password file?
dickson1888 Jun 21, 2009 11:33 PM (in response to dickson1888)Is it impossible to implement this task?