[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ldap
Subject:    [ldap] SASL authentication problem
From:       "Ayyappan Gandhirajan" <ayyappan () india ! hp ! com>
Date:       2002-10-30 10:48:10
[Download RAW message or body]

Hi 

I am always getting javax.naming.AuthenticationNotSupported exception when I try to \
authenticate a user using DIGEST-MD5. The description of exception is \
javax.naming.AuthenticationNotSupportedException: SASL support not available: \
DIGEST-MD5

I herewith attach the code snippet.
   env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
   env.put(Context.PROVIDER_URL,"ldap://localhost:389");
   env.put(Context.SECURITY_AUTHENTICATION, "DIGEST-MD5");
   env.put(Context.SECURITY_PRINCIPAL, "uid=test, ou=people, dc=india, dc=hp, \
dc=com");  env.put(Context.SECURITY_CREDENTIALS, "test");

The environment is: win2k, iplanet 5.0, jdk 1.3.1

Can any one please help me to resolve this?

Thanks in advance.

Best regards,
Ayyappan.


---
You are currently subscribed to ldap@umich.edu as: [ldap@progressive-comp.com]
To unsubscribe send email to ldap-request@umich.edu with the word UNSUBSCRIBE as the \
SUBJECT of the message.


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4919.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>Hi </DIV>
<DIV>&nbsp;</DIV>
<DIV>I am always getting javax.naming.AuthenticationNotSupported exception when 
I try to authenticate a user using DIGEST-MD5. The description of exception is 
javax.naming.AuthenticationNotSupportedException: SASL support not available: 
DIGEST-MD5</DIV>
<DIV>&nbsp;</DIV>
<DIV>I herewith attach the code snippet.</DIV>
<DIV>&nbsp;&nbsp;&nbsp;env.put(Context.INITIAL_CONTEXT_FACTORY, 
"com.sun.jndi.ldap.LdapCtxFactory");<BR>&nbsp;&nbsp;&nbsp;env.put(Context.PROVIDER_URL,"<A \
 href="ldap://localhost:389">ldap://localhost:389</A>");<BR>&nbsp;&nbsp;&nbsp;env.put(Context.SECURITY_AUTHENTICATION, \
 "DIGEST-MD5");<BR>&nbsp;&nbsp;&nbsp;env.put(Context.SECURITY_PRINCIPAL, 
"uid=test, ou=people, dc=india, dc=hp, 
dc=com");<BR>&nbsp;&nbsp;&nbsp;env.put(Context.SECURITY_CREDENTIALS, 
"test");</DIV>
<DIV>&nbsp;</DIV>
<DIV>The environment is: win2k, iplanet 5.0, jdk 1.3.1</DIV>
<DIV>&nbsp;</DIV>
<DIV>Can any one please help me to resolve this?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks in advance.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Best regards,</DIV>
<DIV>Ayyappan.<BR></DIV>
---<BR>
You are currently subscribed to ldap@umich.edu as: [ldap@progressive-comp.com]<BR>
To unsubscribe send email to ldap-request@umich.edu with the word UNSUBSCRIBE as the \
SUBJECT of the message. </BODY></HTML>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic