JNDILoginModule
Petr Frisch <[email protected]> Tue, 21 May 2002 08:34:43 +0200
| Newsgroups | gmane.comp.windows.devel.java.security |
|---|---|
| Message-ID | <001e01c20091$97eaca80$da3ca8c0@frista> |
Hello,=20
I am little disapointed about the JNDILoginModule from java.sun.com.=20
It bind to LDAP server anonymously and tries to fetch userPassword =
attribute. That fails, because password hashes are not viewable by =
anonymous on my ldap server.
Is it possible to intercept the JNDI context in JNDILoginModule, in =
order not to bind anonymously? i.e:
env.put(Context.SECURITY_PRINCIPAL, "cn=3Dmanager, ou=3DNewHires, =
o=3DJNDITutorial");
env.put(Context.SECURITY_CREDENTIALS, "mysecret");
Best of all, I would like it to act like PADL's pam_ldap.so - it attemts =
to bind to LDAP server using the username/passs being authenticated.
Are there any other JASS modules available?
Thanks=20
Petr
You can read messages from the JAVA-SECURITY archive, unsubscribe from JAVA-SECURITY,
or subscribe to other DevelopMentor lists at http://discuss.develop.com.